[Nagios-users] Configuring Disk Space

2007-08-24 Thread Rodrigo Tavares
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_period24x7
   max_check_attempts  3
   normal_check_interval   5
   retry_check_interval1
   contact_groups  infra
   notification_interval   120
   notification_period 24x7
   notification_optionsw,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@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


Re: [Nagios-users] Configuring Disk Space

2007-08-24 Thread Marcus Rejås
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_period24x7
>max_check_attempts  3
>normal_check_interval   5
>retry_check_interval1
>contact_groups  infra
>notification_interval   120
>notification_period 24x7
>notification_optionsw,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@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:   [EMAIL PROTECTED]   ,= ,-_-. =. 
Rejås Datakonsult  e-mail:   [EMAIL PROTECTED] ((_/)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@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


Re: [Nagios-users] Configuring Disk Space

2007-08-24 Thread Rodrigo Tavares
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 <[EMAIL PROTECTED]> 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_period24x7
> >max_check_attempts  3
> >normal_check_interval   5
> >retry_check_interval1
> >contact_groups  infra
> >notification_interval   120
> >notification_period 24x7
> >notification_optionsw,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@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:  
> [EMAIL PROTECTED]   ,= ,-_-. =. 
> Rejås Datakonsult  e-mail:   [EMAIL PROTECTED]
> ((_/)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@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@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


Re: [Nagios-users] Configuring Disk Space

2007-08-24 Thread Marcus Rejås
On 08/24 09:17, Rodrigo Tavares wrote:
> Hello Marcus,

Hi.

> I changed the value for /dev/hda2.
> But nagios notice :
> 
> DISK CRITICAL - /dev/hda5 does not exist 

This is strange. Are you sure this is not another typo? It looks from
this that you wrote /dev/hda5 in you config file instead of /dev/hda2?
Otherwise it doesn't really make sense to me. 

> The PC with nagios have a HD SCSI.
>
> It can to explain something ?

No, not really. They are usually called /dev/sd* but that might vary
with what driver you are using.

Could you give the full output of the command "df"

  /Marcus

-- 
Marcus Rejås   jabber:   [EMAIL PROTECTED]   ,= ,-_-. =. 
Rejås Datakonsult  e-mail:   [EMAIL PROTECTED] ((_/)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@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


Re: [Nagios-users] Configuring Disk Space

2007-08-25 Thread Nagios

You say yo have scsi, so your harddisk chould be /dev/*s*da2

Mels

Marcus Rejås wrote:

On 08/24 09:17, Rodrigo Tavares wrote:
  

Hello Marcus,



Hi.

  

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

DISK CRITICAL - /dev/hda5 does not exist 



This is strange. Are you sure this is not another typo? It looks from
this that you wrote /dev/hda5 in you config file instead of /dev/hda2?
Otherwise it doesn't really make sense to me. 

  

The PC with nagios have a HD SCSI.

It can to explain something ?



No, not really. They are usually called /dev/sd* but that might vary
with what driver you are using.

Could you give the full output of the command "df"

  /Marcus

  


-
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@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