Re: error in mib2c generated files

2011-08-25 Thread Dave Shield
On 25 August 2011 09:53, devel tech devel.te...@gmail.com wrote: i compiled [my MIB] using mib2c command  and it generated two files .c and h of object Namesys. mib2c -c mib2c.scalar.conf Namesys it was okay, then i run make command and i got following errors

linkUpDownNotifications ( unable to test linkdown traps )

2011-08-25 Thread anand anand
We are using net-snmp 5.5.1 Snip from my snmpd.conf *defaultMonitors yes* *#linkUpDownNotifications yes* *notificationEvent linkUpTraplinkUp ifIndex ifAdminStatus ifOperStatus* *notificationEvent linkDownTrap linkDown ifIndex ifAdminStatus ifOperStatus* *trap2sink localhost:162

iSCSI mounts not appearing in storage table

2011-08-25 Thread Joseph L. Casale
I have several new RHEL 6 based machines that unlike RHEL 5 do not enumerate storage info for iscsi based mounts. Anyone know what/why this has changed and a way around this? Thanks! jlc -- EMC VNX: the world's simplest

No 'fsys' Code?

2011-08-25 Thread Michael Urban
CentOS 5.5, building netsnmp 5.7 from source: the 'disk' file system code is returning zero values for file system size, usage, etc. This causes a crash of the snmpd agent due to a careless divide by zero in the '_percent' calculation (reported the bug), but the real problem is that my build does

Re: linkUpDownNotifications ( unable to test linkdown traps )

2011-08-25 Thread anand anand
I tried adding the below to the snmpd.conf file. Still cannot get the linkdown trap. Any ideas ? createUser _iquery MD5 someRandomPassword rouser _iquery iquerySecName _iquery -anand On Thu, Aug 25, 2011 at 3:21 PM, anand anand hianandh...@gmail.com wrote: We are using net-snmp 5.5.1

Re: No 'fsys' Code?

2011-08-25 Thread Dave Shield
On 25 August 2011 14:42, Michael Urban ur...@panix.com wrote: my build does not seem to be compiling anything in the mibgroup/hardware/fsys directory that might actually initialize the data structures for hw_fsys.c - only fsys_void.c is being compiled.  I am doing a pretty

shared object library location of snmpd

2011-08-25 Thread N. Karthikeyan
Hi All,     Could you please let me know the shared library PATH that net-snmp uses to look for .so? I have built a test1.so which inturn has another shared lib(called sample.so) in it. When I load the test1.so, it complains about 'unable to read sample.so'. SNMP table:

Re: how to change in Agent code for new mib.

2011-08-25 Thread devel tech
thanks for reply.. i followed same steps but i need to work on 2. Fill in code in GET and SET case in the C file. i got error on in GET and sET code ,, and i have not grip on working of Agent, :( On Thu, Aug 25, 2011 at 8:08 PM, jatinder goswami jatinder.gosw...@gmail.com wrote: Hi, 1.