[Nagiosplug-devel] Help

Grant Byers grant.byers at gmail.com
Wed May 30 11:07:07 CEST 2012


I'm not near a computer right now, but I believe you should be passing the
mountpoint to -p, not the block device.

Regards,
Grant
On May 30, 2012 8:49 AM, "Leandro Teixeira" <
leandro.teixeira at conductor.com.br> wrote:

>  Hi!
>
> I am in need of help with my nagios server here, i don't know what exactly
> i should do to get warning and critical alarms on the application when
> monitoring a linux disk. Here are the lines of my commands:
>
> Nagios server: at check_commands.cfg file
>
>
> *command_line /usr/local/nagios/libexec/check_nrpe -H 10.1.1.73 -n -p
> 5666 -c check_disk9*
>
>
> On the client server (10.1.1.73), at nrpe.cfg file
>
> *
> command[check_disk9]=/usr/local/nagios/libexec/check_disk -w 30% -c 10% -p
> /dev/hdc1*
>
>
>
> Well, the disk goes to 99% usage and not warning and critical alarms...
> what am I doing wrong?
>
> The disk are being monitored well, as the nagios server returns me OK
> every single check of the service.
>
> Thanks for the help
> Best regards
>
> --
>
> *Leandro Teixeira da Silva*
>
> *Administrador de Redes | Monitoração ***
>
> *Conductor** Tecnologia S/A *
>
> (11)3889 1800 Ramal 5005
>
> ** **
>
> ------------------------------
> Este e-mail, incluindo seus anexos, é confidencial e de uso exclusivo do
> destinatário. Seu conteúdo não deve ser revelado a terceiros. Caso você não
> seja o destinatário, por favor, notifique o remetente e elimine esta
> mensagem imediatamente. Alertamos que esta mensagem transitou por rede
> pública de comunicação, estando, portanto, sujeita aos riscos inerentes a
> essa forma de comunicação.
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________________
> Nagios Plugin Development Mailing List
> Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nagios-plugins.org/archive/devel/attachments/20120530/ab3f3c51/attachment.html>


More information about the Devel mailing list