Re: Net-SNMP-Tutorial-MIB Whys

2008-03-04 Thread Dave Shield
On 04/03/2008, Rashid Noor <[EMAIL PROTECTED]> wrote: > Is it mandatory to use v3 Options for monitor directive? Yes. The internal queries use SNMPv3 exclusively. This is discussed in the snmpd.conf(5) man page. Please follow the instructions there. Dave ---

Re: Net-SNMP-Tutorial-MIB Whys

2008-03-04 Thread Dave Shield
On 04/03/2008, Rashid Noor <[EMAIL PROTECTED]> wrote: > I am setting oid successfully by > snmpset -v 2c -u testrw -c rwcomm localhost nstAgentPluginObject.0 = 15 > so I think user-access is ok. No - that request is using SNMPv2c (with the community "rwcomm") It doesn't use the SNMPv3 user "tes

Re: Net-SNMP-Tutorial-MIB Whys

2008-03-03 Thread Dave Shield
On 03/03/2008, Rashid Noor <[EMAIL PROTECTED]> wrote: > I have tried following configurations in snmpd.conf > > notificationEvent nsTutorialNotifyStart nstAgentPluginObject > monitor -u testrw -r 60 -e nsTutorialNotifyStart "Generate > nsTutorialNotifyStart" -i nstAgentPluginObject != 0

Re: Net-SNMP-Tutorial-MIB Whys

2008-03-03 Thread Dave Shield
On 03/03/2008, Rashid Noor <[EMAIL PROTECTED]> wrote: > As I mentioned earlier that I am seeking help regarding Notifications on > change of value for example OID nstAgentModuleObject. In which case, I suggest you look at the snmpd.conf directive "monitor", which is designed for exactly this pur

Re: Net-SNMP-Tutorial-MIB Whys

2008-03-03 Thread Dave Shield
On 03/03/2008, Rashid Noor <[EMAIL PROTECTED]> wrote: > In example-demon.c Why cant I send notification once? or this is not the > right place? > while(keep_running){ > send_nsTutorialNotifyStart_trap(); > agent_check_and_process(1); > } Think about what that code is actually doing. It will