trap forwarding pb

2005-03-08 Thread MAUGER Fabien ext ROSI/DPS
Hi, I'd like to forward trap received by my snmptrapd to a remote host. so I wanted to use the forward directive in the snmptrapd.conf file, but the it seams that the snmptrapd daemon doesn't know this directive and i don't know why??? moreover forward is not present in the snmptrapd.conf man

Anyone got Traps/Informs working with IPv6?

2005-03-08 Thread Frithiof Jensen (AH/LMD)
Hi List I am trying to set an IPv6 host as the reciever for Traps/Informs but I cannot get it to work - the Agent logs: Mar 8 11:37:19 tethys snmpd[3308]: snmpd: create_trap_session: Unknown host (Resource temporarily unavailable) Mar 8 11:37:19 tethys snmpd[3308]: /etc/snmp/snmpd.conf: line

RE: Anyone got Traps/Informs working with IPv6?

2005-03-08 Thread Frithiof Jensen (AH/LMD)
BTW: This is on a Debian Sarge, using net-snmp-5.2.1 source build with the ipv6 support enabled and the UDP6 and TCP6 transports enabled as well (via the configure script). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Frithiof Jensen (AH/LMD) Sent: 8.

Re: Anyone got Traps/Informs working with IPv6?

2005-03-08 Thread Robert Story
On Tue, 8 Mar 2005 14:59:04 +0100 Frithiof wrote: FJ I am trying to set an IPv6 host as the reciever for Traps/Informs but I FJ cannot get it to work - the Agent logs: FJ FJ /etc/snmp/snmpd.conf: line 426: Error: cannot create trap2sink: FJ udp6:3ffe:100:3:401:260:67ff:fe77:b2c Try

Re: trap forwarding pb

2005-03-08 Thread Robert Story
On Tue, 8 Mar 2005 14:10:24 +0100 MAUGER wrote: MFER I'd like to forward trap received by my snmptrapd to a remote host. MFER so I wanted to use the forward directive in the snmptrapd.conf file, MFER but the it seams that the snmptrapd daemon doesn't know this directive MFER and i don't know

Re: Configure Access Control List

2005-03-08 Thread Robert Story
On Mon, 7 Mar 2005 19:36:49 +0530 Rustagi, wrote: RS We are trying to use the SNMP version 1 and using the example-daemon RS (present in the tutorial section) to connect to Master Agent. RS We are getting the following messages: RS RS Error: Failed to connect to the agentx master agent: Unknown

Re: SNMP - FTP Traffic

2005-03-08 Thread Robert Story
On Thu, 3 Mar 2005 09:36:01 +0530 Senthil wrote: SM Is there any way to get the FTP Traffic information from the NETSNMP? Not directly, no. But if you can write a script that collects that information, you can use net-snmp to run that script and get the information. -- Robert Story; NET-SNMP

Re: platform

2005-03-08 Thread Robert Story
On Wed, 2 Mar 2005 10:15:23 +0800 Paul wrote: PC What platform does net-snmp support? PC My OS is MontaVista Linux. Can net-snmp package be installed and run on PC this OS___ yes, it should work pretty well on most flavors of Linux. -- Robert Story; NET-SNMP Junkie Support:

Re: SNMP_NOSUCHOBJECT or SNMP_NOSUCHINSTANCE

2005-03-08 Thread Robert Story
On Wed, 02 Mar 2005 15:51:59 +0530 Sridhar wrote: SS In the above code if agent fails to retrieve the values for ipForwarding SS and ipDefaultTTL objects from the kernel then, these var-binds are SS marked as SNMP_NOSUCHOBJECT, shouldn't it be SNMP_NOSUCHINSTANCE. I just SS compared the processing

Re: Agent CODE

2005-03-08 Thread Robert Story
On Thu, 3 Mar 2005 01:03:57 +0530 Jude wrote: JAA hi.. i have generated the AGENT code using MIB2C. JAA JAA Now once i modify the file ( .C ) . How shud i compile it to check for JAA errors... JAA JAA shud i use ./configure and MAKE or just Make.?? for a simple program, make should suffice. See

Re: Questions: building MIB agent using table iterator helpers

2005-03-08 Thread Robert Story
On Wed, 2 Mar 2005 22:38:51 -0500 Chuck wrote: CC I am using Net-snmp 5.0.8 on redhat Enterprise WS 3 (2.4 kernel). CC I want my agent implemented as a separate agentX subagent. I'd recommend upgrading to at least 5.1.2 if you are using AgentX. Or at least 5.0.9, which is the most recent 5.0.x

Re: Error: OID not increasing: with proxy

2005-03-08 Thread Robert Story
First, your alias for the list address has a trailing '.', which causes my mailserver to reject my replies to you. Please remove it. On Fri, 4 Mar 2005 14:32:35 +0100 MAUGER wrote: MFER I've got an agent which is configure in order to forward snmp request MFER thanks to the proxy command in

Re: snmpd.conf proc problem or general process gather problem

2005-03-08 Thread Robert Story
On Wed, 23 Feb 2005 16:18:17 -0500 Ken wrote: KT net-snmp version 5.0.6 KT OS REDHAT 8.x KT KT I checked on the server where I made my snmpd.conf file skeleton KT and it's KT KT net-snmp 5.0.9 KT KT seems like the ones failing are forked processes KT KT Is this definitely a limitation of 5.0.6

RE: snmpd.conf proc problem or general process gather problem

2005-03-08 Thread Ken Tse
changelog doesn't seem to say anything that clearly states that was resolved. I just wanted to confirm whether my syntax is correct or not. My colleagues elude to the fact that snmpd could be a thread not a fork but don't see any problems rectified in the changelog between those versions that

Re: Hi.... I need ur help..Please help me

2005-03-08 Thread Robert Story
On Thu, 24 Feb 2005 01:45:19 -0800 Chenna wrote: C I could send the traps usgin snmptrap command. But my requirement C is to use the api. like snmp_easy_trap...like that. C CI tried to use the mib2c to generate the stubs. But it asked to C load the PERL module. I got some info for doing it

Re: SNMP errors

2005-03-08 Thread Robert Story
On Thu, 24 Feb 2005 03:37:17 -0800 (PST) Soori wrote: S Sorry for bothering all you by asking very basic S clarification. Can any one of you please explain S SNMP_NOSUCHOBJECT and SNMP_NOSUCHINSTANCE errors with S respect to scalars and tables. A scalar that is not implemented by the agent should

Re: Question on SET again!

2005-03-08 Thread Robert Story
On Thu, 24 Feb 2005 15:09:14 -0500 sun wrote: SSuppose I am using a third party SNMP manager, which is capable of Sdisplaying table view, if I modified mutilple column in a single row and Scommit it, I wonder if the net-snmp upper layer is smart enough to call Smy table handler

Re: Net-SNMP - I need see the same things !!!

2005-03-08 Thread Robert Story
On Thu, 24 Feb 2005 23:35:42 +0100 (CET) G wrote: GP I installed on my server SolarWinds for demo. GP Now I use net-snmtp as agent. GP Now I have a server with RedHat and if I use snmpd of RedHat o snmpd of GP net-snmp I see differente things . I need see (also other my servers) the GP same

Re: Handlers registred for child node gets invoked twice on doing snpwalk.. starting from parent node

2005-03-08 Thread Robert Story
On Fri, 25 Feb 2005 05:31:58 -0800 (PST) ranjita wrote: RN I have registered a handler for a node and when I do RN snmpget for the node handler gets invoked in the RN expected RN way. If I do snmpwalk starting from parent then RN handler gets invoked twice. How did you register the node? RN

Re: SNMP Newbie -- Please correct the mistakes

2005-03-08 Thread Robert Story
On Fri, 25 Feb 2005 05:55:42 -0800 (PST) km_jr wrote: KK My question comes at step 3. So far I have had integer counters and I KK called netsnmp_register_int_instance for all the integral counters. Now I KK have counters that have type timeticks. How do I register them ? Probably the watcher

Re: Deprecated objects in ifTable

2005-03-08 Thread Robert Story
On Fri, 25 Feb 2005 19:10:38 +0530 Sridhar wrote: SS It means that the agent I implement should not support these objects. In SS the UCD-Style of coding I removed these objects from the initialization SS structure, there by preventing them by getting registerd at the agent. SS So

Re: Plz Clarify

2005-03-08 Thread Robert Story
On Sat, 26 Feb 2005 19:07:44 +0530 (IST) Veerabahu wrote: VS but its giving out error what might be the reason.help me out in resolving VS this What are the errors? -- Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive:

Re: Possible error in mib2c.iterate.conf

2005-03-08 Thread Robert Story
On Sat, 26 Feb 2005 12:33:22 -0300 jrussi wrote: J Using mib2c.iterate.conf,v 5.14 2004/10/14 12:57:33, the J _createEntry function has an error at the return point. It J points to row instead of entry. J J The argument of the function is also create with a typo J error, with an extra comma. J J

ipAddrTable on AIX

2005-03-08 Thread Gonia Eric - egonia
I'm wondering if others have a problem getting IP addresses from mib-2.ip.ipAddrTable on AIX 5.2 running Net-SNMP 5.2.1. When I walk the ipAddrTable I get the following: IP-MIB::ipAdEntAddr.0.0.0.0 = IpAddress: 0.0.0.0 IP-MIB::ipAdEntIfIndex.0.0.0.0 = INTEGER: 1 IP-MIB::ipAdEntNetMask.0.0.0.0 =

CISCO MIB question

2005-03-08 Thread Saqib bin Sohail
I don't know if you guys answer MIB questions but mine is extremely basic thing, the following MIB is for descriptioin of Cisco 3500 switch port 40. What I want to know is what is the current operational speed (10/100/auto) and I just can't seem to figure out how the MIB's are built.

Setting Destination Trap Port on windows

2005-03-08 Thread C Wells
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 ? The services file allows you to change the snmptrap listening port and the snmp port itself, but I can figure out how to make the trap sending

the agent cann't send trap, why?

2005-03-08 Thread xdlhf
Hello, I have a problem when using traps in 5.2 i hope get traps from the agent, so, in the file of snmpd.conf, I add the following two lines, trapsink 192.168.1.44 #localhost IP address trapsink 192.168.1.25 but after i start snmpd, the trap can't be sent to

how to display counter64?

2005-03-08 Thread cen ruijian
Hi All, I try to monitor Gigabit-ether traffic value , but can not get ifHCInOctets object. I saw the changlog :http://www.net-snmp.org/about/ChangeLog.html - Linux - patch 1055036: if-mib init order fix - patch 1057057: ipSystemStatsTable index fix, add ipv6 - patch

Unkonwn Token:master

2005-03-08 Thread Rustagi, Sandeep (Sandeep)
Hi, I am trying to use net-snmp 5.1.2 or 5.2. I am getting the following error while running snmpd /usr/local/share/snmp/snmpd.conf: line 403: Warning: Unknown token: master. NET-SNMP version 5.1.2 I wish to know what I am missing while installing or configuring the net-snmp? Thanks in

loading a MIB file using snmptrapd

2005-03-08 Thread Seema Gupta
Hi All, From the manual I am not able to understand the how I could give the Mib file name so that trap deamon loads that MIB I tried using -m and -M options but it doesn't work. Can somebody elaborate more on this with couple of examples. Thanks in advance, --Seema

how to get ifHCInOctets object?

2005-03-08 Thread cen ruijian
Hi All, I try to monitor Gigabit-ether traffic value , but can not get ifHCInOctets object. I saw the changlog :http://www.net-snmp.org/about/ChangeLog.html - Linux - patch 1055036: if-mib init order fix - patch 1057057: ipSystemStatsTable index fix, add ipv6 - patch 1073897:

Modules not being included

2005-03-08 Thread Steve Comfort
Hi all, After months away from SNMP, I decided to modularize my MIB, which was getting a bit chaotic. The problem I'm having is that I can't seem to get my modules included in the agent, and can't figure out what I'm doing wrong. I'm still using 5.1, and cross-compiling for ARM. Here's the

Error while configuring net-SNMP 5.1.2

2005-03-08 Thread Vijay Krishna
Title: Error while configuring net-SNMP 5.1.2 Hi, I am configuring net-SNMP 5.1.2 obtained from the standard download site http://net-snmp.sourceforge.net/download/. I am encountering the below mentioned error when using Command - ./configure -with-cc=CC where CC is CC: Sun WorkShop 6

REPOST: Doubt on alarms

2005-03-08 Thread Mauricio Reyes
Hello, I was looking at the way alarms work and I have a question: what is the minimum time you can tell a alarm to repeat itself? is it 1 second? is it possible to go to milliseconds? another question I have is this: when you are using trapsess and the destination is down, does it retries to

Re: how to get ifHCInOctets object?

2005-03-08 Thread Robert Story
On Tue, 8 Mar 2005 13:29:17 +0800 cen wrote: CR so ,I think counter64 support at net-snmp-5.2.1 somewhere .. and I CR setup net-snmp-5.2.1 in a linux host. But I couldn't get any CR ifHcinoctets information when I use CR snmpwalk -v 2c -c commu host ifHcinoctets You have to enable this with

Re: Pass no longer working

2005-03-08 Thread Robert Story
On Fri, 25 Feb 2005 08:22:04 -0700 Craig wrote: CK We have these two lines in our snmpd.conf file: CK CK # sysDescr CK pass .1.3.6.1.2.1.1.1 /etc/snmp/ibn_snmp.pl CK # sysLocation CK pass .1.3.6.1.2.1.1.6 /etc/snmp/ibn_snmp.pl CK CK This worked great with 4.2.5, but fails on 5.1.2. Apparently

Re: How to attach proprietary system to Net-Snmp?

2005-03-08 Thread Robert Story
On Sat, 26 Feb 2005 20:18:55 +0100 Ekkehard wrote: ED PC Running Net-SNMP and my Application ED +- MasterDevice attached via serial Interface ED +- First SubDevice connected to the Master ED +- Second SubDevice, could be same type as First SubDevice ED ... ED +- up to

Re: public accessible snmp devices?

2005-03-08 Thread Robert Story
On Sun, 27 Feb 2005 21:38:29 -0800 Vicky wrote: VR Just wondering if there are any public accessible (read-only) snmp VR enabled devices that one can access for testing purposes? Yes. Try snmpget -c demopublic -v 2c test.net-snmp.org system.sysUpTime.0 -- Robert Story; NET-SNMP Junkie

Re: 5.2.1 Trap Handler causes snmptrapd to exit from broken pipe

2005-03-08 Thread Michael Higgins
Michael Higgins wrote: Robert Story wrote: On Fri, 04 Mar 2005 10:46:02 -0800 Michael wrote: MH Using a simple setup as described in MH http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html, when MH a trap is received, the snmptrapd process fails from a broken pipe. I MH then use

CPU utilization ?

2005-03-08 Thread Uwo NMS
Hello Im a beginner on linux programming learning SNMP. I've got processor performance of my snmp target, what should I do with this value to show it as CPU utilization? (1.3.6.1.2.1.25.3.3.1.2) -The average, over the last minute, of the percentage of time that this processor was not idle.

Re: public accessible snmp devices?

2005-03-08 Thread Jude Amal Anand
But wat is test.net-snmp.org ??? and why do we need to give ' demopublic ' instead of ' public ' ?? On Tue, 8 Mar 2005 18:20:29 -0500, Robert Story [EMAIL PROTECTED] wrote: On Sun, 27 Feb 2005 21:38:29 -0800 Vicky wrote: VR Just wondering if there are any public accessible (read-only) snmp