-
Notifications
You must be signed in to change notification settings - Fork 274
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
Windows 2003 Server - Traffic Global - "UNKNOWN: Can't construct cache..." #533
Comments
Hello @pierrick-openIT Please use --oid-filter option e.g --oid-filter ifDesc --oid-display ifDesc . That should do the tricks. Regards |
hello @Sims24 , `/usr/lib/nagios/plugins/centreon_plugins.pl --plugin=os::windows::snmp::plugin --mode=interfaces --hostname=XXX.XXX.XXX.XXX --snmp-version='2c' --snmp-community='CENTREON' --interface='.*' --name --add-status --add-traffic --critical-status='' --warning-in-traffic='80' --critical-in-traffic='90' --warning-out-traffic='80' --critical-out-traffic='90' --verbose --oid-display ifDesc UNKNOWN: Can't construct cache... Thanks for your help. |
Hello @pierrick-openIT Try Is it better ? |
Yes, is it :
It's a bug or something else ? |
No it's not. Depending on hardware/seller, some will fill ifName, ifDesc and ifAlias oids. Some will fill only some as Windows does. Default on the plugin is ifName, as it's not available on your windows plugin can't build cache, you have to specify which oid you want to display. Regards, |
Thanks, it will probably! |
Hy,
there is a bug when i try to monitore network trafic on a windows2003 server.
Centreon plugin check command:
/usr/lib/nagios/plugins/centreon_plugins.pl --plugin=os::windows::snmp::plugin --mode=interfaces --hostname=XXX.XXX.XXX.XXX --snmp-version='2c' --snmp-community='CENTREON' --interface='.*' --name --add-status --add-traffic --critical-status='' --warning-in-traffic='80' --critical-in-traffic='90' --warning-out-traffic='80' --critical-out-traffic='90' --verbose
Output is :
UNKNOWN: Can't construct cache...
When i make a snmpwalk directly on it, it,s work :
snmpwalk -v 2c -c CENTREON XXX.XXX.XXX.XXX ifDescr
Others checks works well (CPU,Disk,Memory,Swap....)
Thanks
The text was updated successfully, but these errors were encountered: