my nagiosxi monitoring server version: nagiosxi 2012 VM
monitored server: cenots 5.7
I am trying to add a plugin called "check_md_raid" from http://exchange.nagios.org/directory/Pl ... ms/details
With no much info about configuration, all its given to run the plugin from root. and when i execute it from command line in host..it gives output.
Adding the plugin in nagiosxi and performing check command doesn't gives any output.
the steps i followed are:
I uploaded the plugin , chown nagios: check_md_raid
i added NAGIOSXI (ALL)=ALL NOPASSWD:/path/to/check_md_raid in my /etc/sudoers file on nagios monitoring server VM.
added :
command Name: check_md_raid
command line: /usr/bin/sudo $USER1$/check_md_raid -H $HOSTADDRESS$
command type: check_command
applied the config.
on services management, added new and selected the check command as check_md_raid. when check the test command check.. the output displayed blank..
This plugin required to be executed via root. and i followed the steps.. let me know what i was doing wrong.
awaiting your response. highly in need to monitor raid check.
thanks.