[Nagiosplug-devel] Help
Leandro Teixeira
leandro.teixeira at conductor.com.br
Thu May 31 01:45:43 CEST 2012
Hey guys, thanks for the help
I found out why this was happening: when i execute the check_disk from de remote server the command returns me with DISK WARNING and the nagios server after using the check_nrpe command was returning DISK OK. I killed the nrpe process and start a new one running as a daemon (and using SSL, after some compiling). I removed the '-n' option from both commands and it works. Thanks again and this thread can be closed.
Regards
Leandro Teixeira da Silva
Administrador de Redes | Monitoração
Conductor Tecnologia S/A
(11)3889 1800 Ramal 5005
Em 30/05/2012 15:39, Leandro Teixeira escreveu:
I am not mounting any, the device is a real disk (/dev/hdc1). If I run the command from the shell i got no errors... but no critical or warning is displayed when the disk became full.
Leandro Teixeira da Silva
Administrador de Redes | Monitoração
Conductor Tecnologia S/A
(11)3889 1800 Ramal 5005
Em 30/05/2012 10:39, Daniel Wittenberg escreveu:
Actually -M is mountpoint, -p is the path or partition. What does your 'mount' command return?
Dan
On May 30, 2012, at 4:07 AM, Grant Byers wrote:
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<mailto: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<mailto: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
------------------------------------------------------------------------------
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<mailto: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
________________________________
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20120530/8a40ad85/attachment.html>
More information about the Devel
mailing list