RE: I got following queries about net-snmp

2005-03-10 Thread Bruce Shaw
please CC the group so that others may benefit from our conversation. There is information on how to run the two agents together in README.solaris. can we have a net-snmp, snmpd and a Solaris(Solaris 8) agent running together? This communication is intended for the use of the recipient to

Re: Wrong agent IP

2005-03-10 Thread Sophie Leroy
Thanks for your answer. Still, I couldn't find in which file I'm supposed to use clientaddr (we've tried in snmp.conf and snmpd.conf, nothing worked out) Let me explain a little more my prolem. I'm trying to set the ip address in the field agentadress of the trap PDU. We're using snmpd on

Net-snmpd stops responding.. Or is it the network?

2005-03-10 Thread Jeff McCombs
Gurus, I've been noticing some .. Strangeness with SNMP lately, and I'm wondering if anyone can help me out. This is with Net-snmpd 5.1 under Solaris 9. Our monitoring system happens to monitor about 8 different subnets, with a pair of clustered Nokias acting as the router for the

Re: public accessible snmp devices?

2005-03-10 Thread Vicky Rode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I can't seem to query this device, either with snmpwalk/snmpget? It times out with no response from test.net-snmp.org. Did I miss something? please advice. regards, /vicky Robert Story wrote: | On Sun, 27 Feb 2005 21:38:29 -0800 Vicky wrote: | VR

Re: public accessible snmp devices?

2005-03-10 Thread Alex Burger
Hi Vicky. I just tried the command provided by Robert, and it worked fine. Are you behind a firewall? Alex Vicky Rode wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I can't seem to query this device, either with snmpwalk/snmpget? It times out with no response from test.net-snmp.org.

Making MIBs work

2005-03-10 Thread John Oliver
I want to poke around for information on my C2924XL. I went through http://www.net-snmp.org/tutorial/tutorial-5/commands/mib-options.html and was able to snmptranslate a couple of items... good enough. Then I followed the link to http://www.net-snmp.org/FAQ.html#How_do_I_add_a_MIB_to_the_tools_

RE: Making MIBs work

2005-03-10 Thread Sorrell, Al
Cisco typically uses LOTS of MIBs - here's a link ftp://ftp-sj.cisco.com/pub/mibs/supportlists/wsc2900xl/wsc2900xl-support list.html for the MIBs supported by 2900 and here's the general link to Cisco for finding MIBs supported by different devices...

Re: Making MIBs work

2005-03-10 Thread Thomas Anders
John Oliver wrote: I want to poke around for information on my C2924XL. I went through http://www.net-snmp.org/tutorial/tutorial-5/commands/mib-options.html and was able to snmptranslate a couple of items... good enough. Then I followed the link to

Re: Making MIBs work

2005-03-10 Thread John Oliver
On Thu, Mar 10, 2005 at 09:50:50PM +0100, Thomas Anders wrote: [EMAIL PROTECTED] mibs]# echo $MIBS +CISCO-C2900-MIB+CISCO-SMI+OLD-CISCO-CHASSIS-MIB+OLD-CISCO-CPU-MIB+OLD-CISCO-MEMORY-MIB+OLD-CISCO-SYSTEM-MIB This must be a *colon separated* list with *one* leading +. From the snmpcmd(1)

Re: Making MIBs work

2005-03-10 Thread Thomas Anders
John Oliver wrote: On Thu, Mar 10, 2005 at 09:50:50PM +0100, Thomas Anders wrote: [EMAIL PROTECTED] mibs]# echo $MIBS +CISCO-C2900-MIB+CISCO-SMI+OLD-CISCO-CHASSIS-MIB+OLD-CISCO-CPU-MIB+OLD-CISCO-MEMORY-MIB+OLD-CISCO-SYSTEM-MIB This must be a *colon separated* list with *one* leading +. From the

SNMPSET problem

2005-03-10 Thread Haizhu Liu
I am having a problem with snmpset: this is what I coded to add an integer to snmp set pdu: int action = 2; char type= 'i'; string action_str((char *)action, sizeof(action)); pdu = snmp_pdu_create(SNMP_MSG_SET); int rc = snmp_add_var(pdu, myoid, sizeof(myoid)/sizeof(oid), type,

exec repeats system call, never returns value

2005-03-10 Thread frank
I've got 4 exec lines setup. 2 are compiled C programs, 2 are perl scripts. 7,8, and 10 (as listed below) work just fine. 9 runs fine from the command line but returns nothing when run by snmpd. example: # snmpwalk localhost .1.3.6.1.4.1.4502.1.9 SNMPv2-SMI::enterprises.4502.1.9.1.1 = INTEGER:

Need for MIB?

2005-03-10 Thread Jude Amal Anand
Hi ... I was told that we need to create MIBs ( Notification Type MIBs ) to send Traps. I Created one Notification Type MIB and also sent the TRAP with some values carried by the Trap Fields. Now I wanted to check whether the Values I sent were stored in the MIB or not. So i Tried RETRIEVING

Re: I got following queries about net-snmp

2005-03-10 Thread Sridhar S
Vijay, Please go through the net-snmp.org to get the answers for questions 1-3. Answer for your question number 4 is 'no' Thanks SrIdhar On Wed, 9 Mar 2005 02:32:18 -0500, Vijay Krishna [EMAIL PROTECTED] said: 1. Is it possible to run net-snmp on Linux? 2. Can the net-snmp

Re: Setting Destination Trap Port on windows

2005-03-10 Thread Sridhar S
I am guessing, By modifying system32/etc/services file ...?? SrIdhar On Fri, 4 Mar 2005 11:28:02 -0800 (PST), C Wells [EMAIL PROTECTED] said: Microsoft loves making snmp difficult. Does anyone know how you can force a windows box to send its traps to a port other than the standard udp 162 ?

Re: public accessible snmp devices?

2005-03-10 Thread Vicky Rode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Alex, I've tried w/ and w/o firewall access with no avail. I've even tried using snmpwalk, snmpget and getif w/ same results :( Says No snmp response from 158.69.82.8 regards, /vicky Alex Burger wrote: | Hi Vicky. | | I just tried the command