Disk space how ??

Nedim Bicic nedo72 at gmail.com
Mon Feb 26 05:02:14 CET 2007


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%!/
        }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070225/9f7db250/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list