i noticed a negative value on one of my servers memory monitoring, am not sure why the value is negative, its the correct value but it has a negative sign see below
[[email protected] ~]$ /usr/local/nagios/libexec/check_snmp_mem.pl -H DXDCLTP7 -C plut0 --v2c -w 85,85 -c 95,95 --perfdata
Ram : -58%, Swap : 49% : ; OK | ram_used=-9354748;13826321;15452947;0;16266260 swap_used=2069800;3565155;3984585;0;4194300
negative report for memory usage monitoring
Re: negative report for memory usage monitoring
What version of the plugin are you running?
What is the full output of this command?
What type of system is DXDCLTP7? (what OS is it running/brand of device)
Code: Select all
/usr/local/nagios/libexec/check_snmp_mem.pl -VCode: Select all
/usr/local/nagios/libexec/check_snmp_mem.pl -H DXDCLTP7 -C plut0 --v2c -w 85,85 -c 95,95 --perfdata -vRe: negative report for memory usage monitoring
dximonp1 ~]# /usr/local/nagios/libexec/check_snmp_mem.pl -V
check_snmp_mem version : 1.1
dximonp1 ~]# /usr/local/nagios/libexec/check_snmp_mem.pl -H DXDCLTP7 -C plut0 --v2c -w 85,85 -c 95,95 --perfdata -v
Alarm at 15
SNMP v2c login
Ram : 27768984 (27448112 cached) / 33043476 : -67
Swap : 3823100 / 4194300 : 9
Ram : -67%, Swap : 9% : ; OK | ram_used=-22173620;28086955;31391302;0;33043476 swap_used=371200;3565155;3984585;0;4194300
You have new mail in /var/spool/mail/root
the server is redhat7
check_snmp_mem version : 1.1
dximonp1 ~]# /usr/local/nagios/libexec/check_snmp_mem.pl -H DXDCLTP7 -C plut0 --v2c -w 85,85 -c 95,95 --perfdata -v
Alarm at 15
SNMP v2c login
Ram : 27768984 (27448112 cached) / 33043476 : -67
Swap : 3823100 / 4194300 : 9
Ram : -67%, Swap : 9% : ; OK | ram_used=-22173620;28086955;31391302;0;33043476 swap_used=371200;3565155;3984585;0;4194300
You have new mail in /var/spool/mail/root
the server is redhat7
Re: negative report for memory usage monitoring
I'm seeing this on my system as well with check_snmp_mem.pl, does this one show properly?
What about this one?
Code: Select all
/usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H DXDCLTP7 -C plut0 --v2c -m "Physical" -T pl -w 10 -c 5 -f -vCode: Select all
/usr/local/nagios/libexec/check_snmp_mem.pl -H DXDCLTP7 -C plut0 --v2c -w 85,85 -c 95,95 --perfdata -v -m