You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Linux systems using a RedHat variant with net-snmp as the default snmpd provider with UCD MIBS, the check_snmp_mem.pl command reports the following errors:
Argument "95923184 kB" isn't numeric in numeric eq (==) at ./check_snmp_mem.pl line 118.
I suggest changing the regexp in do_snmp from
if ($x =~ /([a-zA-Z0-9]+): (.*)$/) {
to
if ($x =~ /([a-zA-Z0-9]+): ([0-9]+)[ ]?(kB)?$/) {
The text was updated successfully, but these errors were encountered:
On Linux systems using a RedHat variant with net-snmp as the default snmpd provider with UCD MIBS, the check_snmp_mem.pl command reports the following errors:
Argument "95923184 kB" isn't numeric in numeric eq (==) at ./check_snmp_mem.pl line 118.
I suggest changing the regexp in do_snmp from$x =~ /([a-zA-Z0-9]+): (.*)$ /) {$x =~ /([a-zA-Z0-9]+): ([0-9]+)[ ]?(kB)?$ /) {
if (
to
if (
The text was updated successfully, but these errors were encountered: