Including table elements in traps

2012-02-01 Thread Wei-Cheng Kong
Hi, I am having some issues including table elements inside a trap notification. Can someone tell me what the format is for including a table element inside a NOTIFICATION-TYPE? I have the following in a MIB (extract): notificationVswr NOTIFICATION-TYPE DESCRIPTION "High VSWR"

Re: mib2c.iterate.conf generates errors

2012-02-01 Thread Dave Shield
On 1 February 2012 17:41, Francois Bouchard wrote: >>What is the actual, concrete, exact MIB definition of the specific MIB >> object mpbcRMHAlarmIndex? > > Here is the MIB OID definition that that the code in my last post comes > from. [snip] Thanks. That confirms my suspicion - the MIB defin

Re: mib2c.iterate.conf generates errors

2012-02-01 Thread Francois Bouchard
>What is the actual, concrete, exact MIB definition of the specific MIB object >mpbcRMHAlarmIndex? Here is the MIB OID definition that that the code in my last post comes from. mpbcRMHNotifiedNMSipAddressTable OBJECT-TYPE SYNTAX SEQUENCE OF MpbcRMH-NotifiedNMSipAddressEn

Re: SNMP Table which script is the most recent?

2012-02-01 Thread Dave Shield
[Oops - forgot to add back the Cc: to the mailing list! Please - always keep discussions on the list, not privately to me directly. Thanks] On 1 February 2012 09:20, Dave Shield wrote: > On 31 January 2012 19:55, Francois Bouchard wrote: >> >>> How large is the table, and how quickly does

Re: how can I get the time when trap happened

2012-02-01 Thread Dave Shield
2012/2/1 朱飞 : > In the standard of snmp trap, time is sent on sysUpTime which is the time > since snmp agent initialized, but how can I get the time when trap happened, > like "2012-1-31 8:57:47.24"? The first thing to realise is that the box sending the trap may well not know what the current "wa

Re: My ifTable never updates?

2012-02-01 Thread Dave Shield
On 1 February 2012 04:11, mzx wrote: > I managed to make it work some days before, both net-snmp and > cacti graphs. Simply changing the agentuser from snmp (a user > added by apt when installing net-snmp) to root fixed it, though not a good > idea. I'm glad you got things working. Can I make a

Re: mib2c.iterate.conf generates errors

2012-02-01 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 31 J

how can I get the time when trap happened

2012-02-01 Thread 朱飞
Dear Sir/Madam, In the standard of snmp trap, time is sent on sysUpTime which is the time since snmp agent initialized, but how can I get the time when trap happened, like "2012-1-31 8:57:47.24"? I can't get any information from internet, please give me some guide. Thank you very much. Sprin