Check_NRPE plugin issue after 3.0b7 upgrade.

Lorand S. D'Caltan ldcaltan at isystemsllc.com
Wed Dec 19 15:50:43 CET 2007


I've migrated from 1.0 to 3.0b7 recently and I'm running into a couple
of issues, the most pressing of which is a problem with the check_nrpe
plugin's return of data.

This is my command definition:
define command {
    command_name    check_nrpe
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}
Copied from my old config.

This is the service in question:
######          Check Linux /db Partition on DB servers
define service {
    use                         generic-service
    hostgroup_name             generic-hostgroup
    service_description         /db Partition
    contact_groups              GRP-Systems,GRP-Pagers
    check_period                24x7
    notification_interval       15
    notification_options        w,u,c,r
    notification_period         24x7
    check_command               check_nrpe!check_disk2
    max_check_attempts          3
    normal_check_interval       15
    retry_check_interval        1
}

This is the relevant part of the nrpe.cfg located on one of the affected
hosts:
command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 15 -p
/dev/sda10

Now this command works fine, and outputs this in Nagios:
/db Partition








OK 12-19-2007 09:37:54 4d 11h 53m 8s 1/3 DISK OK - free space: /db 3653
MB (4% inode=99%):



So, my problem here is that Nagios clearly sees that there is 4% of disk
space free, and yet still thinks the service is in an OK state. I need
it to recognize the Warning/Critical levels on the new system like it
did on the old system.

I'm using these packages on Centos 5.1:
nagios-3.0b7.tar.gz
nagios-plugins-1.4.7.tar.gz

Any help/suggestions would be greatly appreciated

<><><><><><><><>
Lorand S. D'Caltan
Systems Engineer
iSystems LLC
(802) 655-8347 x157
<><><><><><><><>
CONFIDENTIALITY: The information contained in this message may be
privileged and confidential and protected from disclosure. No
confidentiality or privilege is waived or lost by any mistransmission.
If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
Please immediately delete it and all copies of it from your system,
destroy any hard copies of it and notify the sender. Thank you.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071219/45a52f3b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- 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