Re: Repeated SET requests failing

2007-06-07 Thread Dave Shield
On 07/06/07, Ward Witt [EMAIL PROTECTED] wrote: // SNMP-SET 1.3.6.1.4.1.6827.10.74.3.9.1.1.2 Int 2 Sending 30 bytes to UDP: [10.0.0.126]:161 : 30 1C 02 01 01 04 07 70 72 69 76 61 74 65 A3 0E 0016: 02 04 62 17 B9 1C 02 01 00 02 01 00 30 00 Received 30 bytes from UDP:

Re: Enterprise subtree problem...

2007-06-07 Thread Dave Shield
On 07/06/07, Ken Adey [EMAIL PROTECTED] wrote: How can I determine if the agent is having a problem executing my script or understanding its output? Try oputting some debugging code into your script - that will tell you whether it is getting invoked or not. Try starting the agent with the

Re: net-snmp isn't running pass_persist script? how do i know?

2007-06-07 Thread Dave Shield
On 07/06/07, Abdul-Wahid Paterson [EMAIL PROTECTED] wrote: This is my whole snmpd.conf and I am accessing from 192.168.0.10 OK - that looks fine. What about the other question: What can you see? In particular, can you see other bits of the enterprise tree? Is it *just* the pass-persist tree

Re: Rebuilding Net-SNMP 5.4 with IPv6

2007-06-07 Thread Dave Shield
On 07/06/07, Alex Burger [EMAIL PROTECTED] wrote: Dave, I had to put an #ifndef WIN32 around the feature code 1041888 in read_config.c: if (!S_ISDIR(statbuf.st_mode)) { . . } Windows doesn't have S_ISDIR. We need a proper fix, but that allowed me to compile to test IPv6. Well the

Re: Please Help: how to use netsnmp_get_timed_stash_cache_handler

2007-06-07 Thread Dave Shield
On 23/05/07, Lothar Werzinger [EMAIL PROTECTED] wrote: Will the code example below compile with the upcoming 5.4.1 release? It should do. The absence of the stash_cache header file was clearly an oversight, so I've just tweaked the installation setup to rectify this. The 5.4.1.pre2 tarball

Re: net-snmp isn't running pass_persist script? how do i know?

2007-06-07 Thread Abdul-Wahid Paterson
Yes, I can see everything else in the tree and am actively reading data of it. It just seems to be the pass_persist tree that is not failing. Is there any particular way that I can see from snmpd what is happening? Regards, Abdul-Wahid On 6/7/07, Dave Shield [EMAIL PROTECTED] wrote: On

Re: State of snmpNotifyFilterTable

2007-06-07 Thread Art Baltkin
The net-snmp-5.4 FAQ says the snmpFilterTable, etc. is present and can be manipulated and updated, but the information is not consulted...   Does anybody know the status of if/when the tables will be consulted? The 5.3 announcement says it's been implemented since version 5.3:

Re: Repeated SET requests failing

2007-06-07 Thread Ward Witt
But the thing that springs out immediately from your sample code is: read_objid([objectIdString UTF8String], objectid, length); struct snmp_pdu *pdu = snmp_pdu_create(SNMP_MSG_SET); char value = intVal + 0x30; snmp_add_var(pdu, objectid, length, 'i', intVal);

without snmpget ,how can the agent read the oid itselft?

2007-06-07 Thread goon863
hi , My agent is uclinux,and it don't have snmpget command.If the manager snmpset an oid value (0 ,for example)to the agent,how can the agent read the value?Thank you very much ! - This SF.net email is sponsored by DB2