On 21 Dec 2010, at 20:53, Sean R. Kirkpatrick wrote:

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_agentseemed 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.

So your issue is that the plugin does not get listed in the service check edit pages in the drop down list?

This is not possible because this is a "local" plugin, so it doesn't make sense for it to run from the Opsview master. You have to use check_nrpe to execute it, so it will not show on the Opsview master (if the plugin was, say, an OS/400 check, there's no way the Opsview master would be able to represent that).

Your process of putting it in nrpe_local with an appropriate command[check_megaraid] is the way to go. However, we don't do anything with regards to distributing this new agent to your remote hosts.

Ton

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to