Hi i got nagios 2.4

I want to monitor disk space available on 30 servers i have does any one
have a code so i can define the command in check_commands.cfg,

i tried the bellow code and changing the host_name to whatever server but
gives me the disk space of my localhost still dont know why cause its the
same format isnt it
unless i am suppose to create another define command as general service, but
ping service works which is wiered.

also for any future addtionall services do i have to define them globaly in
the checkcommands.cfg? OR IS THERE ANOTHER FILE THAT I USE TO DEFINE A
SERVICE

thanks

define service{
       use                             generic-service         ; Name of
service template to use
       *host_name                       localhost*
       service_description             Root Partition
       is_volatile                     0
       check_period                    24x7
       max_check_attempts              4
       normal_check_interval           5
       retry_check_interval            1
       contact_groups                  gmaster
notification_options  w,u,c,r
       notification_interval           960
       notification_period             24x7
check_command   check_local_disk!20%!10%!/
       }
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to