Notification-Log-MIB tables are showing partial information.

2010-03-23 Thread Vivek Singh Bhadauria
Hi All, SNMPWALK shows only few values when I fetch notificationLogMIB. Below are the traps and snmpwalk cmd that I used to get the nlmLog objects- Note: rocommunity  public, rwcommunity  private, com2sec public-traps   //community set for nlmLogTable - SNMP v2c snmptrap

Re: Complex Arbitrary Command Extension using SNMP

2010-03-23 Thread Dave Shield
On 22 March 2010 18:10, PEOPLES, MICHAEL P (ATTSI) mp4...@att.com wrote: I have learned how to execute arbitrary commands, invoked by a pre-defined OID that I create using an “exec” command in the snmpd.conf file.  Example: exec .1.3.6.1.4.1.2001.65.1.101.1.1 hoplist_1 /usr/bin/cat

Re: Help with adding mibs to simple v3 config

2010-03-23 Thread Dave Shield
On 22 March 2010 17:41, Joseph L. Casale jcas...@activenetwerx.com wrote: Here's the part that doesn't look right, what's with the funny looking format of the output? What you are seeing here is various other cluster-related output. Not the information defined by the REDHAT-CLUSTER-MIB In

Re: adding cache handling to table_data.conf code

2010-03-23 Thread Dave Shield
On 22 March 2010 21:29, Kathy McLeod kmcl...@us.ibm.com wrote: This seems to either generate the iterate_access code stubs or the MFD's iterate code stubs mib2c -c mib2c.mfd.conf will generate a MfD code framework mib2c -c mib2c.iterate_access.conf ... will

snmpd Error

2010-03-23 Thread Harendra Pratap Singh
To enable error log I put the following entries in file /etc/snmp/snmpd.conf before rstarting snmp daemon [snmp] doDebugging 1 [snmp] debugTokens agent/agentx/config/trap/table [snmp] logTimestamp true Then when I restarted snmpd it is throwing the errors like trace: read_config():

Re: Can't install Net-SNMP Perl package on Windows 7 system

2010-03-23 Thread Bart Van Assche
On Mon, Mar 22, 2010 at 9:42 PM, Fishbeck, John jbfis...@pplant.msu.eduwrote: I did my best to search the bugs database, FAQs and list archives for an answer to this, but if it’s in there somewhere, I missed it. Feel free to direct me to the appropriate resource if so. I have successfully

Configure Ping interval

2010-03-23 Thread Ishika Mahajan
Hello Dev and All, I want to configure the ping interval between the master agent and sub agent. I am trying to set the ping interval in the application by netsnmp_ds_set_int(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_AGENTX_PING_INTERVAL,1); but still it is not working and it is trying to

Abort Application on failed connection to master agent

2010-03-23 Thread Ishika Mahajan
Hi All, I want to exit from my application if fail to connect to master agent. How i know if sub-agent is unable to connect to master agent? Thanks, Ishika -- Download Intel#174; Parallel Studio Eval Try the new

RE: Complex Arbitrary Command Extension using SNMP

2010-03-23 Thread PEOPLES, MICHAEL P (ATTSI)
Dave, First of all, I want to thank you for the large amount of time you devote to this list. Your efforts are the essence of what open source is all about. I'll have a look at your suggestions below. Two other questions: 1) Can you recommend a good book or resource on SNMP? The NET-SNMP is

Use of snmp_select_info()

2010-03-23 Thread Vincent Bernat
Hi! I have a program based on a select() loop. I have integrated netsnmp into this loop. The original code is: select(nfds + 1, rfds, NULL, NULL, tv); The new code is: snmpblock = 0; memcpy(snmptv, tv, sizeof(struct timeval)); snmp_select_info(nfds, rfds, snmptv, snmpblock); if (snmpblock ==

Re: would a single group with different access right to access different views?

2010-03-23 Thread Dave Shield
On 16 March 2010 09:49, Dave Shield d.t.shi...@liverpool.ac.uk wrote: Could we configure: Group name    access right ReadView --- group1       noAuthNoPriv    none group1   AuthPriv    all In principal,

Re: would a single group with different access right to access different views?

2010-03-23 Thread Fatima Peter
Dave, Thanks so much. Will try it out. Thanks, Fatima On Tue, Mar 23, 2010 at 8:19 AM, Dave Shield d.t.shi...@liverpool.ac.uk wrote: On 16 March 2010 09:49, Dave Shield d.t.shi...@liverpool.ac.uk wrote: Could we configure: Group name    access right ReadView

snmptrapd.conf format1 and format2 tokens not being used?!

2010-03-23 Thread Schaatsbergen, Chris
Greetings, I am a relative new Linux user and have been given the task to implement Splunk. Splunk can unfortunately not directly read SNMP traps and thus I am using snmptrapd to write the snmp traps into a logfile that Splunk is very good at interpreting. But Splunk needs some kind of

Re: Fw: type BITS displays extra data

2010-03-23 Thread Dave Shield
On 23 March 2010 15:08, Kathy McLeod kmcl...@us.ibm.com wrote: I read the etiquette section and I know we are not supposed to nag the developers and keep re-posting the same note, but I think this one fell thru the cracks. Four days is not really a crack.  I need to get this displaying

Re: Fw: type BITS displays extra data

2010-03-23 Thread Kathy McLeod
The -Oe works swell! Thanks. The ORing was just a short-cut to generate some values quickly in bit strings - eventually we will get the actual data. I only found some sketchy info on BITS. I must have misread it as the most significant bytes instead of bits. Just to make sure I have make the

Re: Fw: type BITS displays extra data

2010-03-23 Thread Dave Shield
On 23 March 2010 15:58, Kathy McLeod kmcl...@us.ibm.com wrote: I only found some sketchy info on BITS. ... ... would the value of 1 be 1000, etc.? Yes. Dave -- Download Intel#174; Parallel Studio Eval Try the

How do I get the DISMAN-TRACEROUTE-MIB into my SNMP Agent?

2010-03-23 Thread PEOPLES, MICHAEL P (ATTSI)
I've taken Dave Shields' suggestion and investigated the DISMAN-TRACROUTE-MIB. Unfortunately, it was not loaded when the agent was compiled. I have the DISMAN-TRACROUTE-MIB.txt file. What is the easiest way to get this into the agent so that I can have a look at what it will produce? I

How to add EtherLike-MIB to net-snmp?

2010-03-23 Thread Kavita Raghunathan
Hello, I’ve tried various things to add EtherLike-MIB to net-snmp and have also been googling real hard but cannot find the answer. I’m using net-snmp-5.4.1 1. I did export MIBS = ALL followed by ./configure as well as make, make install but it pulled in everything except EtherLike MIB into

RE: Help with adding mibs to simple v3 config

2010-03-23 Thread Joseph L. Casale
http://www.linuxdynasty.org/howto-monitor-redhat-cluster-using-snmp-and-python.html The walk above should show this. Note that you probably need to have snmpwalk explicitly load the REDHAT-CLUSTER-MIB in order to see the names correctly: snmpwalk -m +REDHAT-CLUSTER-MIB -v 3 ... hostname

Re: How to add EtherLike-MIB to net-snmp?

2010-03-23 Thread sanjaykumar
Does net-snmp-5.4.1 version code have the "EtherLike-MIB" implementation ?? find out in PATH "agent/mibgroup/EtherLike-MIB" If not try "net-snmp-5.5" it has  "EtherLike-MIB" implementation. Rgds, Sanjay Kavita Raghunathan wrote: How to add EtherLike-MIB to net-snmp? Hello, I’ve