trap destinations

2012-04-18 Thread MANSOUR NASERI
I am using net-snmp ver5.7.1 and config snmpd as a master agent and using my app as a sub agent. I am working on ARM linux and compile net-snmp on version 2. on snmpd.conf file I added trapsink  192.168.0.5 it means I want to send traps to 192.168.0.5. when I run snmpd and then my subagent it

I can't set value at 129th row's column.

2012-04-18 Thread edward
Hello, I needed a table having 256 rows and 42 columns. I got value from 1~256, but set function is not able to do over 129. The response is no such instance. Could you give me a tip? function== {

Regarding sysname, syslocation and syscontact values SET via SNMP manager is resulting error

2012-04-18 Thread Ganesh Reddy K
Hi All, I have compiled   netsnmp-5.6.1.1 for a powerpc and installed properly on a target device. Configured   snmpd.conf  properly and snmpd  is up and running with the given configuration. case 1)  In the snmpd.conf,  i haven't configured  any of the sysname,syslocation, syscontact    

hrStorageTable - duplicate entry

2012-04-18 Thread Dejan Bojic
Hello, I'm have problem with hrStorageTable - it shows one row twice  SNMP (hrStorageDescr) .. 7: hrStorageDescr.31 (DisplayString) / [2F (hex)] 8: hrStorageDescr.32 (DisplayString) / [2F (hex)] 9: hrStorageDescr.33 (DisplayString) /sys [2F.73.79.73 (hex)] 10: hrStorageDescr.34

Re: Regarding sysname, syslocation and syscontact values SET via SNMP manager is resulting error

2012-04-18 Thread Dave Shield
On 18 April 2012 10:12, Ganesh Reddy K ganeshred...@gmail.com wrote: case 2)  In the snmpd.conf,  i have configured  the sysname,syslocation, syscontact  with proper values. Using the GET command, the  values are properly shown in the manager.  Now  i am trying to set the values using SET

combining all MIB files to a single MIB file

2012-04-18 Thread ashok kumar
Hello All, I have a requirement to combine all the MIB files to a single MIB file. Could you please help me out on this? Thanks. Regards, Ashok -- Better than sec? Nothing is better than sec when it comes to monitoring

[SOLVED] error message when attempting to send a trap: send_trap: no v2 trapOID varbind provided

2012-04-18 Thread Stéphane Charette
Took me a while to figure this out, so I figured I'd send it to the list for future mailing list search results. Maybe this will help someone else running into the same issue. I have an app that calls functions generated by mib2c -c mib2c.notify.conf myTestMib. Those functions should be

how to use logOption in snmptrapd.conf

2012-04-18 Thread Stéphane Charette
I'm having problem interpreting the man and wiki pages correctly. I'd like to turn on debug-level logging for snmptrapd to help debug a different issue. The line I tried adding in /etc/snmp/snmptrapd.conf is the following: logOption LS7d I thought that meant: L == logging S == syslog, with

how to use traphandle to call a script?

2012-04-18 Thread Stéphane Charette
I need to have a script called when certain trap notifications are triggered. My /etc/default/snmp has the following: export MIBDIRS=/usr/share/snmp/mibs SNMPDRUN=yes SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I-smux -p /var/run/snmpd.pid' TRAPDRUN=yes TRAPDOPTS='-Lsd -Lf /dev/null -u snmp

mib2c default has no 'ifTable_cache_load()'

2012-04-18 Thread James Gosnell
I ran `mib2c -c mib2c.mfd.conf ifTable` and used the default settings. Should i have a `int ifTable_cache_load(netsnmp_container * container)` in my code? It's not there. I'm following instructions from: http://www.net-snmp.org/wiki/index.php/MFD:ifTable:Data_Access. I'm trying to make the edits

Re: mib2c default has no 'ifTable_cache_load()'

2012-04-18 Thread Zlaja
that tutorial is out of date. you only have to modify iftable_data_access.c file, specifically load container function Zlatan S. On Apr 18, 2012, at 7:04 PM, James Gosnell jamesgosn...@gmail.com wrote: I ran `mib2c -c mib2c.mfd.conf ifTable` and used the default settings. Should i have a