Querying extended MIB , Permission denied

2010-05-24 Thread Jatin Davey
Hi I have written a script to capture the thread usage of a process using a script. I have added this script to the snmpd.conf file so that when i query the extOutput.x MIB variable i get the thread level data from the snmpd daemon. I deployed this script successfully in around 25 servers but

containers

2010-05-24 Thread John Fisher
Dear list members, I have implemented an extension to the net-snmp agent. I use the container model, that is, the API I use is the same as the one used by the output of mib2c with the container model. I have some large tables in my MIB (up to about 5 rows). The binary array container is to

sending back PDU response to a SET?

2010-05-24 Thread Chi . Guan
Hi Guys, I want send a PDU response of SET command in a sub-agent. Is there any example code for that? Can I do something like the following? In a handler, handle_testoid(netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnm

help

2010-05-24 Thread jihed lazid
Hi how i can add a new MIB private files. the MIB files is about the the CEN/XFS organization that has a node 1.3.6.1.4.1.16213 I have to write a module code of MIB XFS and how intégrate it in the agent Net-SNMP ? if i add the MIB files in the MIB directory is sufficient or not ? Please Help me

Trapd on HPUX does not receive trap?

2010-05-24 Thread Snmp Nmcsnmp
Hi folks, Have anyone able to receive trap on hpux? when I used snmptrap to send trap, I can see this on the standout, but I am not able to see any message after that. thanks, Huy NET-SNMP version 5.4.2.1 Received 75 bytes from UDP: [0.0.0.0]->[0.0.0.0]:0 Below is the snmptrapd.conf: ##

Perl API for sending traps

2010-05-24 Thread Joao Ferreira gmail
Hello, I'dd like to know if there is an API accessible from the Perl modules to send a trap to the currently configured trap destinations in snmpd.conf I now this exists in C but I can figure out how to do it from the Perl API. Thank you Joao --

What does "x:" in generated c files mean?

2010-05-24 Thread Kavita Raghunathan
I notice this in my generated .c/.h using mib2c. What does it mean? /* * DUMMY markers, ignore * * TODO:099:x: * * TODO:199:x: * * TODO:299:x: **

cache problems

2010-05-24 Thread Kathy McLeod
Hi - Has there been any progress in solving the cache load etc. problems that I have posted about previously? Thanks. Kathy McLeod -- ___ Net-snmp-users mailing list Net-s

Re: net-snmp win32 compile issues

2010-05-24 Thread Dave Shield
On 24 May 2010 14:17, John Stacey wrote: > Windows XP Pro SP3 > MSVC 2005 v 8.0 > Net-snmp v 5.5 > This is as far as I have been able to get attempting a dynamic build using > win32sdk.dsw (build.bat fails as well) I know this sounds a bit daft, but could you try with the just-released 5.4.3 ve

net-snmp win32 compile issues

2010-05-24 Thread John Stacey
Hello, Windows XP Pro SP3 MSVC 2005 v 8.0 Microsoft Windows Software Development Kit (SDK) for Windows 7 and .NET Framework 3.5 Service Pack 1. Net-snmp v 5.5 Active Perl v 5.10.1 OpenSSL 1.0.0 Net-snmp-config.h: #define PACKAGE_VERSION "5.5" ln 19 #define HAVE_WIN32_PLATFORM

Re: need to develop some traps

2010-05-24 Thread gunsnroses
Hi Joao and Everybody, there are a couple of more traps that I would like to write. So, I am looking towards how to write a new one if not supported. How do I go about those(trap getting generated when our system configuration file changes, not size, so I have to do some md5sum checking,

Re: need to develop some traps

2010-05-24 Thread Joao Ferreira gmail
On Mon, 2010-05-24 at 14:45 +0530, gunsnroses wrote: > let me give an example... > secs or so. I generate a file whenever somebody has logged in. My > snmpd.conf file contains the trap addresses with community strings > etc. So, I hope to do something so that it wil take trap addresses(v1, > v2c, v

need to develop some traps

2010-05-24 Thread gunsnroses
Hi, I have to develop some new traps for net-snmp(version 5.5). I want to develop some traps and integrate it to net-snmp so that, it should take from my snmpd.conf file my trap address list and send the traps accordingly. Not able to find such any information anywhere. let me give an example.

Re: stop trapd serivce on windows timeout?

2010-05-24 Thread Bart Van Assche
Hello Huy, Are you aware that WSACancelBlockingCall() has been removed from Winsock 2, and that Net-SNMP needs Winsock 2 in order to support IPv6 ? See also http://msdn.microsoft.com/en-us/library/ms741547%28VS.85%29.aspx. So two possible solutions are: * Add a Windows-specific alarm to snmptrapd