Re: snmp not working.

2011-06-15 Thread sunaina mangla
Use -M option. i.e. add the mib search path. Your snmpd is not able to find the mibs in the default directories. if you have placed the MIB files in some other directory, you can give the path preceeding with -M option in snmpwalk/get command. On Wed, Jun 15, 2011 at 1:31 PM, Wei Ding wrote: > F

SNMPv3 Trap implementation

2011-04-29 Thread sunaina mangla
Hi, I am implementing unplanned reboot SNMPv3 trap. I have defined in the MIB file. echSnmpTraps OBJECT IDENTIFIER ::= { enterprise 2 } unplannedReboot NOTIFICATION-TYPE OBJECTS { echTrapSeverity, echTrapStatus,echTrapResetCause } STATUS current DESCRIPTION "The SNMP trap that is ge

index value is coming as garbage

2011-04-26 Thread sunaina mangla
Hi , I am implemented one table with MFD. There are multiple columns in the table. And index of the table is MAC address. When I run the snmpwalk on the table, I correctly get all the columnar values except that my index which is a MAC address is coming as some garbage value (.'...q.p'.93 ) . Bel

Re: snmpd stops responding after some time

2011-04-25 Thread sunaina mangla
Hi Dave, That I will try and let you know. I disabled the logging so couldn't get the logs. This time I will enable the log too. regards, Sunaina On Mon, Apr 25, 2011 at 10:46 AM, Dave Shield wrote: > On 22 April 2011 00:42, sunaina mangla wrote >> I am running net-snmp 5.6

Re: how to gracefuly exit snmpd process?

2011-04-25 Thread sunaina mangla
22 April 2011 01:14, sunaina mangla wrote: >>     Do I >> need to handle the SIGINT ? or net-snmp automaticlly handles it > > The agent handles this signal, and will automatically shut down. > Any MIB modules with a 'shutdown_xxx' routine will invoke this > a

how to gracefuly exit snmpd process?

2011-04-21 Thread sunaina mangla
Hi, I am using net-snmp 5.6.1. I have one dynamically loaded module running. It has tabular and scalar objects and I used mfd to build the table.I am running it on Arm target. My question is how should I exit the snmpd agent. Means when the system wants to shut down the snmpd , how should I hand

snmpd stops responding after some time

2011-04-21 Thread sunaina mangla
Hi, I am running net-snmp 5.6.1. I have my properietary MIB which I load as a dynamic module. The standard MIB modules are built into the agent. I start the snmp daemon by : /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd.pid After that I dynamically load the proprietary mib module. I a

how to stop continuoulsy unauthorized access

2011-03-29 Thread sunaina mangla
Hi, My system is running net-snmp-5.6.1. I am running SNMPv3. I want to block the IP address from which there is N (say 5) number of continously unauthoruzed access of the system. Is there anyway by which SNMP agent can come to know about an unauthorized access ? if yes, then probably I can sen

Re: How to cache scalar mib objects. Any example of code would be appreciated

2011-03-24 Thread sunaina mangla
Hi, Please somebody respond on that. I am in need of this. I appreciate the quick response on this. regards, Sunaina On Tue, Mar 22, 2011 at 7:23 AM, sunaina mangla wrote: > Hi, > > I have scalar mib objects which has the data with external process and > not with agent itself. I w

Re: How snmpget encryption-decryption keys exchanged between Agent and remote host.

2011-03-23 Thread sunaina mangla
ound: (top) -> ifTable) And if I dont change the path of both snmpd.conf and let it to be at original path ( /usr/local/share/snmp and /var/lib/snmp/), snmpwalk is succefull. Any pointer on this ? Regards Suniana On Tue, Mar 22, 2011 at 11:24 PM, Dave Shield wrote: > On 23 March 2011

Re: How snmpget encryption-decryption keys exchanged between Agent and remote host.

2011-03-22 Thread sunaina mangla
Hi Dave, What about default user? In this case, we don't create the user? then how that certificate exchange ? regards, sunaina On Tue, Mar 22, 2011 at 1:22 AM, Dave Shield wrote: > On 22 March 2011 01:47, sunaina mangla wrote: >> In Net-Snmp, When the default user fire snmp

How to cache scalar mib objects. Any example of code would be appreciated

2011-03-21 Thread sunaina mangla
Hi, I have scalar mib objects which has the data with external process and not with agent itself. I want to cache this data at agent side so that on each snmpget request my callback function needn't to call API to fetch data from external process. Can you please provide me some example how to do

How snmpget encryption-decryption keys exchanged between Agent and remote host.

2011-03-21 Thread sunaina mangla
Hi, In Net-Snmp, When the default user fire snmpget or snmpset (v3) command , the command is encrypted and encrypted message is sent to the Snmp Agent. SnmpAgent decrypts this message and prcocess it. So there has to be exchange of encryption-decryption keys between SNMP and and that user before

Scalar and tabular objects accessing external data?

2011-03-11 Thread sunaina mangla
Hi, I am developing a private mib. I am using net-snmp-5.6.1. No sub-agent. Below is summary of my MIB: 1. My MIB file has scalar and tabular objects. 2. All the data ( scalar and tabular) is not available locally but I have API interface to get those data from the other processes. This holds tr

Scalar and tabular objects accessing external data?

2011-03-10 Thread sunaina mangla
Hi, I am developing a private mib. I am using net-snmp-5.6.1. No sub-agent.  Below is summary of my MIB: 1. My MIB file has scalar and tabular objects. 2. All the data ( scalar and tabular) is not available locally but I have API interface to get those data from the other processes. This holds tr