Tool

preycor's picture
tool
Reads:

6601

Score:
2.5
2.5
2
 
Comments:

1

Nagios eDirectory Time Check

Author Info

15 October 2010 - 2:08am
Submitted by: preycor

(View Disclaimer)

license: 
GPL

download url: http://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/Novell/eDirectory-Time-Check

This is a check script which runs ndsrepair on an OES (linux) server and alerts if the time is out of sync from eDirectory's point of view on any contactable servers. It also outputs a list of any servers that couldn't be contacted.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

rshera's picture

Need to add nagios to sudoers

Submitted by rshera on 14 January 2011 - 2:53am.

This is probably obvious to everyone else except linux-challenged old blokes like me, but to get the script to execute correctly when called remotely by nrpe you need to add nagios to sudoers. I added the line

nagios ALL= NOPASSWD: /usr/local/nagios/libexec/check_edir_time

and then the script ran perfectly. It's great!

I guess a similar script could be used to check edir sync as well.

Rob

© 2013 Novell