I've got two instances of opsview running. Both machines have Dell Perc 4i
RAID controllers and I wanted to start monitoring their health using the
'check_megaraid' plugin. The instructions for adding a new plugin here
http://docs.opsview.org/doku.php?id=opsview3.10:unix_customise_agent seemed
straight forward and so I set out to make it work.
Unfortunately, it doesn't. When the plugin is placed in
/usr/local/nagios/libexec/nrpe_local with the appropriate config file entry
in /usr/local/nagios/etc/nrpe_local/override.cfg pointing to the script, the
script is never found - it does not show in the plugin dropdown list when
adding a new service check. Note that I have stopped and restarted
opsview-agent as well as nagios (opsview) itself.
OTOH, when I add the script to /usr/local/nagios/libexec with the
corresponding entry in /usr/local/nagios/etc/nrpe.cfg, the plugin shows in
the dropdown just fine.
I realize that I should put the plugin in the nrpe_local directory so that
it is preserved when an upgrade to opsview happens. However, I doing this
isn't working for some reason.
I do note at the bottom of /usr/local/nagios/etc/nrpe.cfg, the last entry
says
"include_dir=/usr/local/nagios/etc/nrpe_local"
This suggests to me that any file found in that directory will be processed.
Is that the case?
I'm not finding any errors in any of the system or nagios log files, and
it's not obvious if errors are occurring, where they would appear.
Has anyone successfully configured something in nrpe_local? Any clues for
me?
Thanks!
Sean
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users