Unknown storage : ^x: : ERROR in SNMP for Windows
Unknown storage : ^x: : ERROR in SNMP for Windows
Version 5.2.0
SNMP checking Windows 2008 R2
Receive "Unknown storage : ^X: : ERROR" (where x is the drive) in GUI.
- same service used with and works for another two servers (same drive) / created in CCM
- "test check command" against the same server and drive actually works and produces correct result
- other SNMP checks(CPU, RAM, another drive) also work for this server
Why would Nagios XI error in this case and what to check for?
SNMP checking Windows 2008 R2
Receive "Unknown storage : ^X: : ERROR" (where x is the drive) in GUI.
- same service used with and works for another two servers (same drive) / created in CCM
- "test check command" against the same server and drive actually works and produces correct result
- other SNMP checks(CPU, RAM, another drive) also work for this server
Why would Nagios XI error in this case and what to check for?
Last edited by dlukinski on Thu Oct 22, 2015 12:13 pm, edited 2 times in total.
Re: Unknown storage : ^x: : ERROR in SNMP for Windows
Go to the CCM->Services-><problem service>->View Text Config and copy/paste the config on the forum.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unknown storage : ^x: : ERROR in SNMP for Windows
###############################################################################lmiltchev wrote:Go to the CCM->Services-><problem service>->View Text Config and copy/paste the config on the forum.
#
# Service configuration file
#
# Created by: Nagios Core Config Manager 2.5.0
# Date: 2015-10-27 08:36:12
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define service {
host_name fihp-rep02.res.kcg.global,fihp-rep03.res.kcg.global,sghp-sin-fs01.res.kcg.global
service_description DISK H Usage 93 warning / 95 critical
use xiwizard_windowssnmp_storage
check_command check_xi_service_snmp_win_storage! -C HP_private --v2c -m ^H: -w 93 -c 95 -f!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
first_notification_delay 10
notification_period xi_timeperiod_24x7
_xiwizard windowssnmp
register 1
}
###############################################################################
#
# Service configuration file
#
# END OF FILE
#
###############################################################################
Last edited by dlukinski on Tue Oct 27, 2015 7:35 am, edited 1 time in total.
Re: Unknown storage : ^x: : ERROR in SNMP for Windows
I am a bit confused - this is NOT a SNMP check. Are you sure you are looking at the correct config? The "Drive H: Disk Usage 90 Warning / 95 Critical" service was created by the "Windows Server" monitoring wizard. This check uses NSClient++ agent. Do you see the correct output when you run the following command from the command line?
Code: Select all
/usr/local/nagios/libexec/check_nt -H cnhp-sccmps01.res.kcg.global -s "nagiosxi162" -p 12489 -v USEDDISKSPACE -l H -w 90 -c 95Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unknown storage : ^x: : ERROR in SNMP for Windows
My bad as I have it both ways: copy/paste problem.lmiltchev wrote:I am a bit confused - this is NOT a SNMP check. Are you sure you are looking at the correct config? The "Drive H: Disk Usage 90 Warning / 95 Critical" service was created by the "Windows Server" monitoring wizard. This check uses NSClient++ agent. Do you see the correct output when you run the following command from the command line?
Code: Select all
/usr/local/nagios/libexec/check_nt -H cnhp-sccmps01.res.kcg.global -s "nagiosxi162" -p 12489 -v USEDDISKSPACE -l H -w 90 -c 95
Now there is a right one (one that was always assigned and attempted)
Re: Unknown storage : ^x: : ERROR in SNMP for Windows
Just to verify, from the windows machine can you please run this in an elevated prompt -
fsutil fsinfo drives
Additionally, Is this a physical partition or a mapped drive? How large is the drive X: partition?
fsutil fsinfo drives
Additionally, Is this a physical partition or a mapped drive? How large is the drive X: partition?
Former Nagios Employee
Re: Unknown storage : ^x: : ERROR in SNMP for Windows
This is an H drive (listed after fsutil command) / 1.46 TB in size (SAN LUN)rkennedy wrote:Just to verify, from the windows machine can you please run this in an elevated prompt -
fsutil fsinfo drives
Additionally, Is this a physical partition or a mapped drive? How large is the drive X: partition?
- we monitor many servers with supposedly same type of drive and no issues.
Re: Unknown storage : ^x: : ERROR in SNMP for Windows
Is that ^ before the H: supposed to be there or is it a copy paste error?
check_command check_xi_service_snmp_win_storage! -C HP_private --v2c -m ^H: -w 93 -c 95 -f!!!!!!!
check_command check_xi_service_snmp_win_storage! -C HP_private --v2c -m ^H: -w 93 -c 95 -f!!!!!!!
Re: Unknown storage : ^x: : ERROR in SNMP for Windows
This is how XI SNMP Wizard generates this command:ssax wrote:Is that ^ before the H: supposed to be there or is it a copy paste error?
check_command check_xi_service_snmp_win_storage! -C HP_private --v2c -m ^H: -w 93 -c 95 -f!!!!!!!
-C HP_private --v2c -m ^G: -w 93 -c 95 -f
- another working example / so is H is working for all servers but that one in question
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Unknown storage : ^x: : ERROR in SNMP for Windows
Let's see the raw command line output:
Code: Select all
/usr/local/nagios/libexec/check_snmp_storage.pl -H <winhost> -C <community string> --v2c -m ^X -w 93 -c 95 -f