Re: snmptrap uptime

2011-11-03 Thread Magnus Fromreide
On Thu, 2011-11-03 at 23:52 +, Dave Shield wrote: > On 3 November 2011 17:19, Nguyen Dinh Phong wrote: > > Shouldn't the default uptime for the snmptrap utility > > should also be the agent uptime? > > Not really, no. > > The uptime value is meant to be the uptime value of the sending SNMP e

Re: snmptrap uptime

2011-11-03 Thread Dave Shield
On 3 November 2011 17:19, Nguyen Dinh Phong wrote: > Shouldn't the default uptime for the snmptrap utility > should also be the agent uptime? Not really, no. The uptime value is meant to be the uptime value of the sending SNMP entity. If you're sending a trap using "snmptrap", then snmptrap is t

snmptrap uptime

2011-11-03 Thread Nguyen Dinh Phong
Hi, The uptime for traps such as coldstart or node down, ...  generated by the snmpd is the time the agent last initialized. However, for the snmptrap utility, if we do not pass the uptime parameter, the traps were sent with the uptime computed by get_uptime(), i.e. the system uptime. Do we have

Re: snmp in cluster

2011-11-03 Thread Nguyen Dinh Phong
Hi, Assuming I have AgentX tweak with all the contexts set up, can I do one snmpwalk at the main node for the whole cluster?  snmpwalk -c public Or am I only be able to walk one node at a time with the right context for each node? Thanks, Phong From: Dave Shie

Re: snmp in cluster

2011-11-03 Thread Dave Shield
On 3 November 2011 23:05, Nguyen Dinh Phong wrote: > Assuming I have AgentX tweak with all the contexts set up, can I do one > snmpwalk at the main node for the whole cluster? > snmpwalk -c public > Or am I only be able to walk one node at a time with the right context for > each node? If you'r

USM APIs

2011-11-03 Thread sundararaman.dheivanayagam
Hi, Please let me know the net-snmp APIs to read the below configuration from /etc/snmp/snmpd.conf file. #cat /etc/snmp/snmpd.conf createUser MD5User MD5 "The Net-SNMP Demo Password" # First, map the community name "public" into a "security name" # sec.name source

RE: netsnmp 5.7.1 crashes when requesting dskPercent

2011-11-03 Thread Keith Hansen
The files systems are 'ufs'. Tried the 'includeAllDisks 20%' directive and I get a full response from netsnmp 5.4.2.1 and no response at all from netsnmp 5.7. With netsnmp 5.4.2.1 on target. sysadmin@nhcp-dev:~$ snmpwalk -v1 -c public 10.3.20.137:18161 dskTable UCD-SNMP-MIB::dskIndex.1 = INTEGER