Hey all,
I'm 99% done with my DR environment including monitoring hardware with SNMP and mibs. I've managed to set up the traps to map to the appropriate hosts. The issue that i'm having has been inconsistent and hopefully someone can shed some light on this as I do not want to constantly monitor the "latest data" for snmp traps.
Basically each host has an item "snmptrap" and when i send test traps they go there and are in the correct host's latest data. My issue is triggering. I use the following format:
{mailserver-ilo:snmptrap.str(SNMP)}=0 &
{mailserver-ilo:snmptrap.str(snmp)}=0
This was working and from my understanding, whenever SNMP or snmp is found in that item it will trigger.
At some point these stopped triggering and when I switched them to 1's instead of 0's it was triggering. (EG. {mailserver-ilo:snmptrap.str(snmp)}=1)
I must be missing something. This seems to work for now though:
{mailserver-ilo:snmptrap.regexp(SNMP)}#0
Can anyone tell me what I'm doing wrong? Thanks again!
I'm 99% done with my DR environment including monitoring hardware with SNMP and mibs. I've managed to set up the traps to map to the appropriate hosts. The issue that i'm having has been inconsistent and hopefully someone can shed some light on this as I do not want to constantly monitor the "latest data" for snmp traps.
Basically each host has an item "snmptrap" and when i send test traps they go there and are in the correct host's latest data. My issue is triggering. I use the following format:
{mailserver-ilo:snmptrap.str(SNMP)}=0 &
{mailserver-ilo:snmptrap.str(snmp)}=0
This was working and from my understanding, whenever SNMP or snmp is found in that item it will trigger.
At some point these stopped triggering and when I switched them to 1's instead of 0's it was triggering. (EG. {mailserver-ilo:snmptrap.str(snmp)}=1)
I must be missing something. This seems to work for now though:
{mailserver-ilo:snmptrap.regexp(SNMP)}#0
Can anyone tell me what I'm doing wrong? Thanks again!
Comment