-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not returning the right storage with plugin=os::windows::snmp::plugin #1704
Comments
Could you provide a snmpwalk of following OID ? |
snmpwalk -v 2c -c XXX XXX .1.3.6.1.2.1.25 |
I ha
Oh there is one important thing : there was a G drive change to D. Maybe is there a SNMP cache or something like this ? |
Quentin, i deleted the cache and things seems ok now. find /var/lib/centreon/centplugins -name '192.168.132.18' -exec rm {} ; |
Great! |
Hello Everyone
I've got a very strange issue with the plugin=os::windows::snmp::plugin.
When i list the available storage, i can see the storage called M: with the good size.
When i check it, i'm not having the good storage checked, it's liked it check the CDROM (Z:)
the M: storage is 2Gb.
Here is the output :
---- LIST STORAGE ----
/usr/lib/centreon/plugins//centreon_windows_snmp.pl --plugin=os::windows::snmp::plugin --mode=list-storages --snmp-community='XXX' --hostname=XXX
List storage:
'C:\ Label:OP-SYS Serial Number b0232f67' [size = 42355126272B] [id = 1]
'D:\ Label:LOCAL-DATA Serial Number fc3501e1' [size = 42813353984B] [id = 2]
'L:\ Label:QUORUM Serial Number 88739a1d' [size = 2144333824B] [id = 3]
'M:\ Label:CLUSTER-DATA Serial Number 1e797688' [size = 107371032576B] [id = 4]
Skipping storage 'Z:\ Label:SSS_X64FREV_EN-US_DV9 Serial Number e02d942e': no type or no matching filter type
Skipping storage 'Virtual Memory': no type or no matching filter type
Skipping storage 'Physical Memory': no type or no matching filter type
---- CHECK STORAGE ----
/usr/lib/centreon/plugins//centreon_windows_snmp.pl --plugin=os::windows::snmp::plugin --mode=storage --hostname=XXX --snmp-community='XXX' --storage='M:' --name --regexp
OK: Storage 'M:\ Label:CLUSTER-DATA Serial Number 1e797688' Usage Total: 5.30 GB Used: 5.30 GB (100.00%) Free: 0.00 B (0.00%) | 'used'=5694334976B;;;0;5694334976
Thanks for any help
The text was updated successfully, but these errors were encountered: