Maximum size of OID and SNMP packet

2005-05-02 Thread Rustagi, Sandeep (Sandeep)
Hi All, I wish to know if I wish to construct a SNMP PDU with all OIDs in that PDU as Octet string, then how many OIDs I can give in a PDU. Also, what will be length of each OCTET STRING for each OID I can give. e.g. testString OBJECT-TYPE SYNTAX OCTET STRING (SIZE (1..65535)) MAX-ACCESS

Fw: How to get data in table through C code?

2005-05-02 Thread Gary Clark
- Original Message - From: "Gary Clark" <[EMAIL PROTECTED]> To: "秦宇伟" <[EMAIL PROTECTED]> Sent: Monday, May 02, 2005 8:23 AM Subject: Re: How to get data in table through C code? > Hello All, > > Ha-hum! please read the FAQ this is an excellent starting point to > understand what the hel

Defunct Processes from net-snmp

2005-05-02 Thread rob-7704
I have been deploying 5.1.2 net-snmp on Solaris 2.6, 2.7 & 2.8. I initially configured the following in the /etc/snmpd.conf: agentuser: nobody agentgroup: other I've been using Aprisma's Spectrum NMS to poll the agents and all was well for about 2 weeks. Last week I upgraded Spectrum to a new

Sending traps

2005-05-02 Thread Mauricio Reyes
Hello, I need to calculate the network utilization that my agent uses when sending notification traps to the manager. Is there a way to calculate the amount of bytes used by a trap? Thanks a lot. Mauricio. __ Do You Yahoo!? Tired of spam? Yahoo!

AGENT EXT SIT ON NAILS - 10

2005-05-02 Thread Parthiban Naliiamudali
Dear Sir, i am thankful to Mr.DAVE sir for his advice. Sir, Mr.DAVE at last i am able to send a SNMPTRAP now..sir, sorry for delay. [ AGENT EXT SIT ON NAILS-9 ] sir, as per your advice i studied the FAQ again and again and now i am able to send a trap for my WMAN-IF-MIB integrated agent.for this

Re: agent crash when proxying for Squid

2005-05-02 Thread John Hardin
John Hardin wrote: I have a system where I set up Net-SNMP to proxy for Squid (the caching software). Squid is running on the same machine as Net-SNMP. Its agent is integrated into its cache daemon and only understands SNMPv1, so I have Squid's agent listening on 127.0.0.1:3401. The snmpd.conf fi

Re: agent crash when proxying for Squid

2005-05-02 Thread Wes Hardaker
> On Mon, 02 May 2005 13:12:47 -0700, John Hardin <[EMAIL PROTECTED]> said: John> Apparently the BULK-GET received by snmpd is sent to Squid as John> a GET-NEXT with two OIDs. Ethereal reports this: John> Version: 1 (0) John> Community: public John> PDU type: GET-NEXT (1) John> Request Id: 0

Re: agent crash when proxying for Squid

2005-05-02 Thread Wes Hardaker
> On Mon, 02 May 2005 13:12:47 -0700, John Hardin <[EMAIL PROTECTED]> said: John> It looks like the agent then segfaults when the snmpbulkget retries. This code should have been executed in that case. Did you see this message in your log: if (request || var) { /*

Re: agent crash when proxying for Squid

2005-05-02 Thread John Hardin
Wes Hardaker wrote: On Mon, 02 May 2005 13:12:47 -0700, John Hardin <[EMAIL PROTECTED]> said: John> Apparently the BULK-GET received by snmpd is sent to Squid as John> a GET-NEXT with two OIDs. Ethereal reports this: John> Version: 1 (0) John> Community: public John> PDU type: GET-NEX

Re: agent crash when proxying for Squid

2005-05-02 Thread John Hardin
Wes Hardaker wrote: On Mon, 02 May 2005 13:12:47 -0700, John Hardin <[EMAIL PROTECTED]> said: John> It looks like the agent then segfaults when the snmpbulkget retries. This code should have been executed in that case. Did you see this message in your log: if (request || var) {

Re: agent crash when proxying for Squid

2005-05-02 Thread John Hardin
John Hardin wrote: Wes Hardaker wrote: On Mon, 02 May 2005 13:12:47 -0700, John Hardin <[EMAIL PROTECTED]> said: John> It looks like the agent then segfaults when the snmpbulkget retries. This code should have been executed in that case. Did you see this message in your log: