Fetching system UUID using SNMP

2011-08-25 Thread Sudhir Behani
Hi All, I am trying to find a way to identify the system's UUID. The system could be a linux machine , a storage controllers or any other devices in the data-center ? 1. Need to know which OID would give the value of the system UUID ? 2. Can I use the same OID for every system to get the

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, > >

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: UCD-DLMOD-MIB::dlmodTabl

Re: No 'fsys' Code?

2011-08-25 Thread Dave Shield
On 25 August 2011 14:42, Michael Urban 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 ordinary 'configure

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 wrote: > We are using net-snmp 5.5.1 > > Snip from my snmpd.

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 n

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

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 <

Re: error in mib2c generated files

2011-08-25 Thread Dave Shield
On 25 August 2011 09:53, devel tech 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 > > > test/Namesys.c: In

error in mib2c generated files

2011-08-25 Thread devel tech
hi list! i created my own MIB file with name TEST-MIB.txt at /usr/local/share/snmp/mibs --- TEST-ENTERPRISE-MIB DEFINITIONS ::= BEGIN IMPORTS enterprises FROM RFC1155-SMI MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, TimeT