I have Valere power supplies in my network and are able to send out SNMP events, I see the event in the syslog of THE DUDE but my end goal is to get a notification out of the event so I know the equipment needs attention before it is just missing Pings.
this is what i have so far.
thanks in advance as I have not seen much information on how to build triggers on SNMP events sent to the Dude
I suspect that you are asking why it doesn’t work? Is the same OID used for both “AC fail alarm Set” and “AC fail alarm Clear”? If you unplug the power does the probe status show down? Then the trouble is you have “use notification” checked in the notification tab but no check mark on any notification. Remove the use notification check so it will be forced to use the global configuration or add a more specific notification for this probe. Your probe looks correct.
Note: There is a big difference between syslog and SNMP Traps. (I see your not using traps just trying to be clear) The dude doesn’t directly support Traps but someone has implemented a way to convert traps to syslog. (Just for more clarity your probe is directly looking at SNMP OIDs) It looks to me like you have syslog correctly setup, events are being sent from the power supplies to syslog but that is not the mechanism that would send an email and is not what you are looking for but if you were trying to use Traps it could generate a notification the instant the problem occurred not when the probe detected it. Also note that the power supply could do 3 things, set an OID, send a syslog notification and send a SNMP Trap.
pretty much all I want is when I have and event happen to be sent an Email (text to phone) so that i can know I need to go deal with it just not go find out what is wrong when the device misses a ping. I am the only one that deals with my network so having things change on the map is not too important.
here is a SNMPwalk of the power supply
I have 11 power supplies, and about 40 Adsl gear the Dude looks over for me.
The “ac fail alarm clear” probe is monitoring “iso.org.dod.internet.private.enterprises.13858.2.5.1.1.2.5” and if the string returned from that oid is not “ac fail alarm clear” it should generate a notification. Is that not working?
I went out and pulled power on i seen it come in on syslog but nothing else. that is why i turned up here as I am stumped.. what else information should I get to look over.
Does the probe actually show “down” and create an action when the power supply is unplugged? I have had probes even though they look like they were coded correctly they didn’t go into an error state.
If the probe does go into an error state and you get emails about pings or other services failing then it could be you have manually checked “use notification” on the notification tab of the probe itself (but then you would have had to check this everywhere you installed the probe) and have not actually checked an event to execute when it fires (a check in “use notification” and no check next to “notification”).
If both the probe actually goes down and generates an action and the notification is checked then inside the notification there is “up->down” without a check next to it. This probe might be configured to show “down” with out any retries therefore it would not go through the “up->unstable->down” states.
HTH,
Lebowski
I didn’t say you were wrong, I am just saying your an asshole. LOL
I didn’t say you were wrong, I am just saying your an asshole. (that is a line from the big lebowski and is not directed at anyone, if you were not getting it)
Oh that is fine you have too helpful I didn’t know where it was from, but have a little bit thick skin. I just have been out of the office to check things and well rather look at it when on the clock too .. I think I have the probe comments set up wrong or something simple