Adding plugins to Nagios
I just installed nagios to a Cent 5.4 box. Everything is working so far except I want to add a plugin I found on nagios exchange. The file has a .pl extension. I am unsure how to add the plugin to the rest of nagios. Do I need to add it to a nagios folder and then define it. If I just try to run the pl file I get a error mesg. I am unsure if the error is caused by system misconfig or because the plugin is not installed. The plugin is check_dayime.pl and the error I get is Can't locate Date/Parse.pm
Perl seems to be working as I can run simple perl scripts and perl -v spits out v 5.8.8 |
Quote:
http://search.cpan.org/~gbarr/TimeDate-1.20/ |
CPAN Module
Thanks
I added the cpan module and now the .pl file runs. I am still unsure how to make the plugin work with nagios but at least now I know the plugin works. |
Quote:
|
All times are GMT -5. The time now is 11:41 AM. |