Quick Commands : Retrieve Available Drives
Posted: Fri Jul 17, 2015 3:05 pm
Hi,
We have Nagios XI2014R2.6.
Could you please point me in the direction on how to add quick commands from within Nagios XI gui.
The scenario is that operation's team will new add hosts/services in Nagios. While adding they will need to query the server (i.e. windows) for available drives so that they can monitor going forward. We would like to add this command:
/usr/local/nagios/libexec/check_wmi_plus.pl -H HOST-u $USER10$ -p $USER11$ -m checkdrivesize
The -u and -p tied back to macros defined in the etc/resource.cfg
Is there a way this can be achieved?
Many thanks!
We have Nagios XI2014R2.6.
Could you please point me in the direction on how to add quick commands from within Nagios XI gui.
The scenario is that operation's team will new add hosts/services in Nagios. While adding they will need to query the server (i.e. windows) for available drives so that they can monitor going forward. We would like to add this command:
/usr/local/nagios/libexec/check_wmi_plus.pl -H HOST-u $USER10$ -p $USER11$ -m checkdrivesize
The -u and -p tied back to macros defined in the etc/resource.cfg
Is there a way this can be achieved?
Many thanks!