query about monitor expression

2010-06-20 Thread gunsnroses
Hi, I am very new to snmp. I have an urgent query. Please let me know how monitor [OPTIONS] NAME EXPRESSION works. I have an object systemVoltage which when get gets the value of system voltage. How do I use this to send a trap whenever it falls outside 5 and +12V? I guess the monitor expression

Re: query about monitor expression

2010-06-20 Thread gunsnroses
Hi Everybody, I am sorry, the requirement is a little different. I have to send different traps for low voltage and high voltage. So, I have an object identifier systemVoltage(OID1), which when get retrieves the system voltage. I have to send separate traps, for high and low voltage. How do

another query on monitor command

2010-06-20 Thread gunsnroses
Hi, I have a written a new mib to oversee when a file is getting changed. when I get snmpwalk on this OID, I get the time of this file last changed. Now, how do I get a trap everytime on this when this OID value changes? I plan to check every 60 sec to see if OID value has changed and then fire

Trying to update a FAQ on the Net-SNMP Wiki but cannot

2010-06-20 Thread Max
Hi, Trying to augment FAQ 17 (how can I send a particular trap to s a specified agent) with information on how to do this with snmptrapd until the Net-SNMP agent is able to do this via the snmpNotifyFilterTable through snmpd.conf. When I hit edit on that page all i see is the question itself and