agent_check_process(0)

2019-09-23 Thread Deepak Sachan
I am using net-snmp 5.7. Using Agent X. I have written a code like while(1){ - - - if(flag) agent_check_process(0); } Whenever flag changes 0 to 1 it reconnect Agent X every time and program has to wait 10 to15 seconds until it reconnect and process pending requests. 1. Is here any way not to

Trap server address in snmpd.conf

2019-05-22 Thread Deepak Sachan
Heĺlo In snmpd.conf trap server address is defined as Trap2sink 192.168.1.10 public 162 If i edit the snmpd.conf file and changed address to 192.168.1.010 then traps are not received at trap receiver. Help required. Thanks in advance ___ Net-snmp-coders

no able to fetch agent parameters from MIB browser

2018-03-16 Thread Deepak Sachan
Hi I am trying to get/set values from ireasoning MIB browser. My mib module name tropoModem. When i load it into mib browser it comes under .private.enterprise.tropomModem I am able to get system prameters like sysDscr, sysUpTime etc which are defined in snmpd.conf- # It is also

Agent not responding to standard MIB browser (i reasoning)

2018-01-11 Thread Deepak Sachan
hello I am able to get/set parameters of my agent from my Ubuntu based client PC through command line - ​$ snmpget -u bootstrap -l authPriv -a MD5 -x DES -A temp_password -X temp_password AGENT_IP AGENT-MIB::parameter1.0 ​$ snmpget -u bootstrap -l authPriv -a MD5 -x DES -A temp_password -X

not respondind to standarad MIB browser (i reasoning)

2017-12-04 Thread deepak . sachan deepak . sachan
hello I am able to get/set parameters of my agent from my Ubuntu based client PC through command line - ​$ snmpget -u bootstrap -l authPriv -a MD5 -x DES -A temp_password -X temp_password AGENT_IP AGENT-MIB::parameter1.0 ​$ snmpget -u bootstrap -l authPriv -a MD5 -x DES -A temp_password -X

integration of .so module with other application

2017-10-23 Thread deepak . sachan deepak . sachan
Hi All I have generate a loadable module for my device i.e. device.so. I have edited snmpd.conf for loading module using dlmod. It working fine. snmpget and snmpset working fine. This device.so has been used for remote monitoring and controlling the device. I have another program

how to increase timeout value

2017-06-05 Thread deepak . sachan deepak . sachan
hi, My agent is slow in responding to the request. so how can i increase time out value?? Thankx -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

objects defined Under .private.enterprise. are not accessible.

2017-06-01 Thread deepak . sachan deepak . sachan
Hi I am using MG-SOFT MIB browser for accessing objects from my custom MIB. The only objects i am able to access are of mib2.system.sysDescr,sysUpTime. etc But objects defined Under .private.enterprise.deal. are not accessible. Thanks

use of various SET macros in mib2c generated files

2017-05-22 Thread deepak . sachan deepak . sachan
Hi There are various SET macros like MODE_SET_RESERVE1, MODE_SET_RESERVE2,MODE_SET_UNDO in my generated file . I have implemented only MODE_SET_COMMIT for setinng values . What is use of others??. Are they helpful to set values permanently.?? Thanks in advance.

snmpset does not retain value after restart/reset y

2017-04-28 Thread deepak . sachan deepak . sachan
Hi I have tried communicating b/w agent and client using dynamic module (.so) creation for snmp agent. snmpget and snmpset working fine . But after restart/reset the agent does not retain value . it shows the previous value which has been defined in .c (generated through mib2c) file.

snmpset does not set value permanently

2017-04-24 Thread deepak . sachan deepak . sachan
Hi I have tried communicating b/w agent and client using dynamic module (.so) creation for snmp agent. snmpget and snmpset working fine . But if restart the agent ,oid value doesnt change . it shows the previous value which has been defined in .c file. Any help ? Thanks in advance.

How to add MIB in pre installed snmp package

2017-02-12 Thread deepak . sachan deepak . sachan
Hello friends I have got a new hardware in which linux3.0 is runninig with snmp packg installed. How we can add a new MIB in pre installed snmp package in kernel or installed with sudo apt-get install snmpd ?. As there is no source code( so where to copy .c file etc) available. Could we

net-snmp instalation problem :snmpd not installed

2017-01-20 Thread deepak . sachan deepak . sachan
Hi I am trying to install net-snmp on ubuntu13.10 from .tar source . After complete installation- 1. I am not able to find snmp.conf 2. snmp server (snmpd) is not installed. (is it possible while installing net-snmp ,snmpd is not installed ) 3. All the snmp client tool (snmpwalk ,snmpget etc)

problem solved :: can not find -lperl

2017-01-15 Thread deepak . sachan deepak . sachan
Hello friends During net-snmp installation following error message shows. I think this must some library linking issue. Need help to resolve this up/agentx/.libs/subagent.o mibgroup/utilities/.libs/execute.o mibgroup/utilities/.libs/iquery.o mibgroup/mibII/.libs/vacm_conf.o

net-snmp make error : cannot find -lperl

2017-01-09 Thread deepak . sachan deepak . sachan
Hello friends During net-snmp installation following error message shows. I think this must some library linking issue. Need help to resolve this up/agentx/.libs/subagent.o mibgroup/utilities/.libs/execute.o mibgroup/utilities/.libs/iquery.o mibgroup/mibII/.libs/vacm_conf.o

how to make a device snmp enabled??

2016-12-27 Thread deepak . sachan deepak . sachan
Hello friends We have developed a hardware /device for communication purpose and we make it to SNMP enabled so that it can be remotely configured & Monitored . So what are the basic requirements. We have a processor with Linux OS on the device. My main concern is How we developed MIB for

Error while Adding a new MIB

2016-01-28 Thread deepak . sachan
hello I am trying to add a new MIB in net-snmp .What i did is- 1. Generate a new MIB (i.e. DEALN-TROPO-MIB) by some MIB builder software 2. I copied DEALN-TROPO-MIB into usr/snmp/mibs 3.I ran mib2c -c DEALN-TROPO-MIB::sysRate 4. i got following error- You didn't give mib2c a valid OID to start