We put the check_dxml_drvstate in place and when we run a check manually we get a complete reply

Driver is RUNNING. Cache file /var/opt/novell/eDirectory/data/dib/46957.TAO is 72 bytes (50000/1000000). Last Heartbeat occured 9221 seconds ago at 2010-10-21 14:44:49 CDT (360/900).

but when I look on my nagios page it reports like this (missing info like the TAO file name and the seconds)

Driver is RUNNING.
Cache file /var/opt/novell/eDirectory/data/dib/.TAO is bytes (50000/1000000).
Last Heartbeat occured seconds ago at (360/900).

Anyone know how to fix this?


as what user are you running the check manually? root or nagios?


As nagios using sudo

my sudoers file has

nagios ALL=NOPASSWD:/etc/nrpe/checks/*
nagios ALL=NOPASSWD:/etc/nrpe/event-handlers/*

Edited for security

command[check_idvmail2]=sudo /etc/nrpe/checks/check_driverstate -s -u cn=user,ou=group,ou=group2,ou=group3,o=vault -p 'PASSWORD' --tw 50 --tc 100 --hbw 360 --hbc 900 --br -d cn=idvmail,cn=drivers,ou=server,o=vault


try explciitly stating the complete path to sudo in your command definition.


I’ll give it a try, but the other generic check work without a full path to sudo.



We had some help installing this and they guy had edited the ldapsearch lines at the end of the check_dxml_dvrstat file . So, I moved that file to a tmp dir and installed a new copy of the file… edited the TAODIR line to reflect our path and… VIOLA it works.

Sorry for the trouble and thanks for the help.


Thanks for the update :slight_smile: