Configuring Disk Space

Rodrigo Tavares digolinopage at yahoo.com.br
Fri Aug 24 14:17:53 CEST 2007


Hello Marcus,

I changed the value for /dev/hda2.
But nagios notice :

DISK CRITICAL - /dev/hda5 does not exist 

The PC with nagios have a HD SCSI.

It can to explain something ?

Best regards,

Faria


--- Marcus Rejås <marcus at rejas.se> escreveu:

> It is quite simple I guess. It's a typo in your
> config file.
> 
> You have "check_disk!20%!10%!/dev/sda2" when what
> you want is
> "check_disk!20%!10%!/dev/hda2"
> 
> Observe sda instead of hda.
> 
> RegardsRegards¬,
> 
>   /Marcus
> 
> 
> On 08/24 08:48, Rodrigo Tavares wrote:
> > Hello,
> > 
> > Nagios admin found the size of the partition:
> > 
> > DISK OK - free space: /dev 9 MB (99% inode=99%): 
> > 
> > But, in server linux with command df -h :
> > 
> > /dev/hda2              28G   14G   14G  51% /
> > 
> > See my services.cfg
> > 
> > define service{
> >        use                            
> generic-service
> >         ; Name of service template to use
> > 
> >        host_name                       veraneio
> >        service_description             /dev/hda2
> Free
> > Space
> >        is_volatile                     0
> >        check_period                    24x7
> >        max_check_attempts              3
> >        normal_check_interval           5
> >        retry_check_interval            1
> >        contact_groups                  infra
> >        notification_interval           120
> >        notification_period             24x7
> >        notification_options            w,u,c,r
> >        check_command                  
> > check_disk!20%!10%!/dev/sda2
> > 
> > How I can to resolve this trouble ?
> > 
> > Best regards,
> > 
> > Faria
> > 
> > 
> > 
> >       Flickr agora em português. Você clica, todo
> mundo vê.
> > http://www.flickr.com.br/
> > 
> >
>
-------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?
>  Stop.
> > Now Search log events and configuration files
> using AJAX and a browser.
> > Download your FREE copy of Splunk now >> 
> http://get.splunk.com/
> > _______________________________________________
> > 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
> 
> -- 
> Marcus Rejås           jabber:  
> marcus at jabber.rejas.se       ,= ,-_-. =. 
> Rejås Datakonsult      e-mail:   marcus at rejas.se    
>         ((_/)o o(\_))
> Kaserngatan 1          web:      http://www.rejas.se
>          `-'(. .)`-' 
> s-761 46 Norrtälje     gpg-key: 
> http://www.rejas.se/rejas.asc    \_/ 
> 
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? 
> Stop.
> Now Search log events and configuration files using
> AJAX and a browser.
> Download your FREE copy of Splunk now >> 
> http://get.splunk.com/
> _______________________________________________
> 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
> 



      Flickr agora em português. Você clica, todo mundo vê.
http://www.flickr.com.br/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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