Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
ottow
byottow, September 18, 2020
Confirmed this works as expected. The parameter "runway" has a typo though, it needs to be expressed as "runaway". Like so: -l runaway
Minor annoyance
Minor annoyance
byottow, November 11, 2014
The FAILEDDISK command does not work on my FAS2220, ONTAP 8.1.3. Via telnet, the disk show command says I have one failed disk, yet this check insists there are no failed disks. Manual snmpwalk on the OIDs (1.3.6.1.4.1.789.1.6.4 and below) confirms the system thinks there are no failed disks when queried via SNMP. Possibly a bug in ONTAP?
byottow, June 4, 2014
Works as advertised. Make sure to put script under /libexec before testing or it will not work (it calls utils.sh from the current dir)
Testing this commad on Windows 2012 produces the following error:
/usr/local/nagios/libexec/check_nrpe -H 10.100.32.117 -c check_smartwmi -a 5 10
No output available from command (cscript.exe //nologo //T:60 scripts/check_smartwmi.vbs /warn:$ARG1$ /crit:$ARG2$)
/usr/local/nagios/libexec/check_nrpe -H 10.100.32.117 -c check_smartwmi -a 5 10
No output available from command (cscript.exe //nologo //T:60 scripts/check_smartwmi.vbs /warn:$ARG1$ /crit:$ARG2$)
Owner's reply
Your Nagios configuration is incorrect, this is not a valid command:
cscript.exe //nologo //T:60 scripts/check_smartwmi.vbs /warn:$ARG1$ /crit:$ARG2$
The path to vbs is wrong and the 2 arguments are probably also not passed.