Quantcast
Channel: Monitoring-Portal Feed
Viewing all articles
Browse latest Browse all 1338

SNMP return 'error

$
0
0
Hi
I'm quite new to this ICINGA and have run into a bit of a problem.

I have written a service:

apply Service "mem-check" {
import "generic-service"

check_command = "snmp"
vars.snmp_oid = ".1.3.6.1.4.1.674.10892.5.4.200.10.1.27.1"
vars.snmp_community = "public"
vars.snmp_version = "2c"
vars.snmp_address = host.vars.ipmi_ip
vars.snmp_miblist = "/usr/share/snmp/mibs/IDRAC-MIB.mib"
vars.snmp_crit = 5
vars.snmp_warn = 4

assign where host.name == "hest"
}

the result is:
services.d # snmpget -v2c -c public hest .1.3.6.1.4.1.674.10892.5.4.200.10.1.27.1
iso.3.6.1.4.1.674.10892.5.4.200.10.1.27.1 = INTEGER: 4

In short: I have a defective memory module.
mib states that INTEFER:3 is OK and INTEGER: 4 is noncrit.

In the dashboard my service returns:
Plugin Output


SNMP OK - 4
and green light.

If I change vars.snmp_warn = "3" I get a yellow light ( which I want )

So my question is:
why does the monitoring tool not report the warning as set in vars.snmp_warn.

Thanx in advance

Viewing all articles
Browse latest Browse all 1338

Trending Articles


BARKADA TAGALOG QUOTES


Ka longiing longsem kaba skhem bad kaba khlain ka pynlong kein ia ka...


Arbol genealogico para colorear


Sapos para colorear


“BAHAY KUBO HUGOT”


RE: Mutton Pies (frankie241)


Re: lwIP PIC32 port - new title : CycloneTCP a new open source stack for...


Vimeo 3.42.0 by Vimeo Inc


Re:Mutton Pies (lleechef)


KASAMBAHAY BILL IN THE HOUSE