RE: AgentX: register an OID subtree for a callback function, no MIB, no generated code

2010-03-18 Thread Mike Ayers
From: Christian Thießen [mailto:christian.thies...@tu-harburg.de] Sent: Sunday, March 14, 2010 1:16 AM The program I am currently working on is a standalone daemon which regularly queries values from hardware devices and, among other things, provides them via SNMP (as a subagent). It gets

Re: snmpwalk does not walk the table when using dynamic load.

2010-03-18 Thread Dave Shield
On 17 March 2010 23:24, Wei Zheng w.zh...@f5.com wrote: Regarding your questions: 1) Cannot walk lmPlTable correctly either: it returns No Such Object available on this agent at this OID. What about GET requests on individual entries? Please report the *exact* commands and responses that you

Re: AgentX: register an OID subtree for a callback function, no MIB, no generated code

2010-03-18 Thread Dave Shield
2010/3/14 Christian Thießen christian.thies...@tu-harburg.de: in order to have all information in one place, I decided not to use MIB files. I would second Mike's suggestion that you reconsider this decision. A MIB file is extremely useful as part of formalising the structure of

Re: NET SNMP Sub agent And Master Agent Connection

2010-03-18 Thread Dave Shield
On 17 March 2010 13:28, Ashish vashishtha ashish.vashish...@gmail.com wrote: I am getting this crash sometimes from the sub agent code. [snip] than through the register function from teh main application i am registering the OIDS with the master agent. And this is where the subagent

Re: Unknown Object Identifier for log counter

2010-03-18 Thread Dave Shield
On 17 March 2010 17:04, Mudassar mudas...@innovative-pk.com wrote: Thanks, Alerts has been gone... but i cannot get snmptraps. Any traps, or just the ones related to monitoring running processes? Try re-enabling the proc line, but comment out the line monitor -u _internal -r 1 -o prNames -o

Re: about net-snmp not restore data and get data from traffic porcess every time when recv a snmp message form MANAGER?

2010-03-18 Thread Dave Shield
On 18 March 2010 01:11, daily study study.dail...@gmail.com wrote:   1. I want to use net-snmp  as such agent, Could i use net-snmp in the model above ? How to use net-snmp?  Could give me some examples in such model? Yes - you could use Net-SNMP for this. What you are describing sounds

path of snmpd.conf

2010-03-18 Thread sanjaykumar
Hi All, If we run the snmpd it takes the config file from the different location like : /etc/snmp/snmp.conf /usr/share/snmp/mibs/ /var/snmp/snmpd.conf We can also specified the path of config file with options -c 1. What if config file is present at all the place ??? 2. By default

Re: path of snmpd.conf

2010-03-18 Thread Dave Shield
On 18 March 2010 14:51, sanjaykumar sanjay.ku...@globaledgesoft.com wrote:     If we run the snmpd it takes the config file from the different location 1. What if config file is present at all the place ??? It will read each file in turn. 2. By default which file will be read by snmpd

not sure how to initialize table_data

2010-03-18 Thread Kathy McLeod
Hi - I took your advice and ran mib2c -c mib2c.table_data.conf LLDP-MIB::lldpPortConfigTable. The generated .h has this: /* * column number definitions for table lldpPortConfigTable */ #define COLUMN_LLDPPORTCONFIGPORTNUM 1 #define COLUMN_LLDPPORTCONFIGADMINSTATUS

snmpd.conf configuration issue

2010-03-18 Thread Martz, Peter
I am trying to enable SNMP traps from the a CheckPoint Secure Platform (linux variant running net-snmpd 5.3.1 ) to an SNMP manager. Reading all the documents and the various posts, it seems that I am still missing something and appeal the gurus. I have modified my snmpd.conf file and while I

More info - Fw: not sure how to initialize table_data

2010-03-18 Thread Kathy McLeod
Hi again - I changed entry-lldpPortConfigPortNum = lldpPortConfigPortNum; to entry-lldpPortConfigPortNum = lldpPortConfigPortNum + 1; and now table still works and snmpget is working. I will be testing the other commands, but I guess this has solved my problem. (or am I still missing

NetSNMP::agent help

2010-03-18 Thread Milena
Hi , I want to run SNMP Sub-agent, but I don't know how. Can you help me? My SNMP Sub-agent source is perl source code and it is equal to the example on http://search.cpan.org/~HARDAKER/NetSNMP-agent-5.0401/agent.pm#EXAMPLES. Thank you in advance.

Re: not sure how to initialize table_data

2010-03-18 Thread Dave Shield
On 18 March 2010 15:43, Kathy McLeod kmcl...@us.ibm.com wrote: I took your advice and ran mib2c -c mib2c.table_data.conf LLDP-MIB::lldpPortConfigTable. However when I do a get, the row numbers are from 0-3 (apparently) and the top row is inaccessible (even though my port numbers (index) go

Re: snmpd.conf configuration issue

2010-03-18 Thread Dave Shield
On 18 March 2010 16:02, Martz, Peter peter_ma...@cable.comcast.com wrote: monitor -r 60 -o hrSWRunName pjm: high cpu is WAY too high hrSWRunPerfCPU 1 OK - That makes sense. Send a trap if the CPU usage of a process is too high, and include the name of the offending process.

pass scripts

2010-03-18 Thread krad
Hi, I have an issue with an extend script (net-snmp 5.4+) returning a value in string form. I however want it in integer form. I believe the way to solve this is to rewrite the script as a pass script. Are there any decent docs on howto do this as I'm having no luck with google so far. Any

Question on the mask parameter in vacm-access

2010-03-18 Thread Fatima Peter
Hi, I have a question on the mask parameter in the vacm view access when it is included and excluded. I apologize for the lengthy email. The man page for snmpvacm says: MASKA bit mask indicating which sub-identifiers of the associated sub- tree OID should be regarded as

RE: snmpd.conf configuration issue

2010-03-18 Thread Martz, Peter
-Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, March 18, 2010 12:55 PM To: Martz, Peter Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmpd.conf configuration issue On 18 March 2010 16:02,

How do I download your net-snmp in Linux?

2010-03-18 Thread Day Davis
Please provide the linux syntax. Dashun Davis -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel

How do i download the latest version of net-snmp from server?

2010-03-18 Thread Day Davis
What would the command line be in unix? Dashun Davis -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for

Re: snmpd.conf configuration issue

2010-03-18 Thread Dave Shield
On 18 March 2010 18:33, Martz, Peter peter_ma...@cable.comcast.com wrote: Running snmpgetnext on 1.3.6.1.4.1.2620.1.1.25.3 gives the following: /usr/local/bin/snmpgetnext -Of -On -v 2c -c community ip 1.3.6.1.4.1.2620.1.1.25.3 .1.3.6.1.4.1.2620.1.1.25.3.0 = INTEGER: 19 Is this a scalar

RE: snmpwalk does not walk the table when using dynamic load.

2010-03-18 Thread Wei Zheng
1) snmpwalk/GET lmPlTable, ~~~ # snmpwalk -c public localhost lmPlTable LOCAL-MIB::lmPlTable = No Such Object available on this agent at this OID # snmpget -c public localhost lmPlTable LOCAL-MIB::lmPlTable = No Such Object available on this agent at this OID #

Re: How do i download the latest version of net-snmp from server?

2010-03-18 Thread Michael Schwartzkopff
Am Donnerstag, 18. März 2010 20:54:01 schrieb Day Davis: What would the command line be in unix? Dashun Davis snmpd -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49

Re: How do I download your net-snmp in Linux?

2010-03-18 Thread Michael Schwartzkopff
Am Donnerstag, 18. März 2010 20:44:18 schrieb Day Davis: Please provide the linux syntax. Dashun Davis wget http://sourceforge.net/projects/net-snmp/files/net-snmp/5.5/net- snmp-5.5.tar.gz/download -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630