RE: regarding static linking

2006-06-29 Thread amber.gupta
Title: regarding static linking You need to uninstall net-snmp and rebuild it from source once you have added mib with the agent. Agent/mibgroup directory is under root source directory . Have you installed source code and compiling with that?   From: [EMAIL PROTECTED] on behalf of Si

RE: Floating values

2005-11-09 Thread amber.gupta
Hi Asim, If you are using OCTECT String to represent float values, your mib should have this object defined as OCTECT String. Aren't you using same MIB at both Manager and Agent side? You can use displayString also by importing it from RFC1213 in your mib. Any restrictions in using displayStrings?

RE: How do I return negative (signed) values from var_

2005-11-09 Thread amber.gupta
Negatives is possible if object type is integer32 , generic function used to return value does preserve negative value and you should be able to see negative value on query. I tried it and it works. Using unsigned char * for return is to make framework generic I guess, which does not make loss or m

RE: agentx problem while starting as service

2005-09-28 Thread amber.gupta
I tried that also , the one that comes shipped with does not even take -f -Le flags . It dies even directly starting using ./snmpd from /usr/sbin directory and even with -f -Le switches it does not print anything( I did removed lock file before running) -Original Message- From: Wes Hardake

agentx problem while starting as service

2005-09-21 Thread amber.gupta
Hi All, I am using RHEL 4 that comes with net-snmp5.1.2 version. I am trying to enable agentx support for snmpd daemon using following procedure   1- In /etc/snmp/snmpd.conf I add following line master agentx   2- Then I run following command to start snmpd daemon /sbin/service snmpd