check_snmp_storage_wizard.pl storage usage 100%?
check_snmp_storage_wizard.pl storage usage 100%?
When using check_snmp_storage_wizard.pl to check a host disk, will alert disk usage 100%, but actually that host's disk is normal, what could be the problem?
You do not have the required permissions to view the files attached to this post.
Re: check_snmp_storage_wizard.pl storage usage 100%?
Did they recently expand the storage on this system?
The numbers are totally off on there and I'm wondering if it's the plugin or if it's the remote SNMP daemon showing the wrong information.
What version of the plugin are you running?
Run this command from the command line of the XI server and send us the entire output:
- Change X.X.X.X and yourcommunity
The numbers are totally off on there and I'm wondering if it's the plugin or if it's the remote SNMP daemon showing the wrong information.
What version of the plugin are you running?
Code: Select all
/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -V- Change X.X.X.X and yourcommunity
Code: Select all
/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H X.X.X.X -C 'yourcommunity' --v2c -m "^/$" -w 80 -c 95 -f -vRe: check_snmp_storage_wizard.pl storage usage 100%?
1. Didn't expand the storage on this system recently.
2. The plugin check_snmp_storage version is 1.3.3
2. The plugin check_snmp_storage version is 1.3.3
You do not have the required permissions to view the files attached to this post.
Re: check_snmp_storage_wizard.pl storage usage 100%?
You missed the -v on the command, please re-run the command below and include the full output:
Code: Select all
/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H X.X.X.X -C 'yourcommunity' --v2c -m "^/$" -w 80 -c 95 -f -vRe: check_snmp_storage_wizard.pl storage usage 100%?
Try replacing the current plugin with the copy at the link below.
https://github.com/dnsmichi/manubulon-s ... storage.pl
It has been updated to work with drives that over 2 terabytes in size for SNMP polling.
https://github.com/dnsmichi/manubulon-s ... storage.pl
It has been updated to work with drives that over 2 terabytes in size for SNMP polling.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_snmp_storage_wizard.pl storage usage 100%?
There's the same error, no matter using the old plugin or the new one, will all have error message ...
/: 19742%used(4329645MB/21931MB) (>95%) : CRITICAL
/: 19742%used(4329645MB/21931MB) (>95%) : CRITICAL
You do not have the required permissions to view the files attached to this post.
Re: check_snmp_storage_wizard.pl storage usage 100%?
There is one more thing to try.
If the remove server is running the NET-SNMP version of the snmpd daemon, then edit the /etc/snmp/snmpd.conf and add this option.
Save and restart the snmpd daemon and retest it.
There is a limitation for SNMP and larger drives. The small allocation size causes an overflow to the counter that hold the disk size settings and the above is a workaround.
For more details, look at this link.
https://linux.die.net/man/5/snmpd.conf
If the remove server is running the NET-SNMP version of the snmpd daemon, then edit the /etc/snmp/snmpd.conf and add this option.
Code: Select all
realStorageUnits=0There is a limitation for SNMP and larger drives. The small allocation size causes an overflow to the counter that hold the disk size settings and the above is a workaround.
For more details, look at this link.
https://linux.die.net/man/5/snmpd.conf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_snmp_storage_wizard.pl storage usage 100%?
edit Snmpd.conf and add realStorageUnits=0 or realStorageUnit 0, still error?!
You do not have the required permissions to view the files attached to this post.
Re: check_snmp_storage_wizard.pl storage usage 100%?
That option is suppose to change the value of the hrStorageAllocationUnits from 4096 to 8192 so the drive size can be calculated but is seems to not be functioning with the snmpd daemon.
That option was added to version 5.7.1 of the Net-SNMP tools so make sure the remote server is running that version or greater.
If the server is running that version, then it may be a bug for the snmpd daemon not changing that value.
If you want to continue to use SNMP, you would have to go to the Net-SNMP site to see if there is a fix for this issue.
Else, you can install an agent on the server and poll the drive sizes.
The NCPA agent would be able to do this.
https://www.nagios.org/ncpa/
That option was added to version 5.7.1 of the Net-SNMP tools so make sure the remote server is running that version or greater.
If the server is running that version, then it may be a bug for the snmpd daemon not changing that value.
If you want to continue to use SNMP, you would have to go to the Net-SNMP site to see if there is a fix for this issue.
Else, you can install an agent on the server and poll the drive sizes.
The NCPA agent would be able to do this.
https://www.nagios.org/ncpa/
Be sure to check out our Knowledgebase for helpful articles and solutions!