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)

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 id

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

Re: Possible error in mib2c.iterate.conf

2005-03-08 Thread Josdeyvi Russi
There are more typos, like SNMP_MALOC_STRUCTURE and problems at the handler too. At the end I copied from array model... - Original Message - From: "Robert Story" <[EMAIL PROTECTED]> To: "jrussi" <[EMAIL PROTECTED]> Cc: "net-snmp-users" Sent: Tuesday, March 08, 2005 5:50 PM Subject: Re:

Re: Can I watch the oid values when it was operated?

2005-03-08 Thread Robert Story
On Mon, 28 Feb 2005 15:20:30 +0800 13336185665 wrote: 1> In include/net-snmp/agent, there are object_monitor.h, But it notice in active development status. Can you be a little more precise about what you want to do? -- Robert Story; NET-SNMP Junkie Support: Archive:

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: 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 t

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. Appa

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 wi

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 con

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 u

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 rele

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:

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

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 advanc

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 1

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 192.168

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 mechan

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. .1.3.6.1.4.1

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 = Ip

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 co

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: Archive:

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 'SNMP_NOSUCHOB

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 ha

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?

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 t

Re: Question on SET again!

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

Re: props with memory status

2005-03-08 Thread Robert Story
On Fri, 25 Feb 2005 10:08:19 +0100 (CET) Ben wrote: BP> the working server is a SUSE linux openexchange server (based on SLES8) BP> UCD-snmp version: 4.2.5 (snmpd -v) BP> BP> and the NOT working server is a SUSE linux enterprise server BP> NET-SNMP version: 5.1 (snmpd -v) That's the opposite of

Re: SNMPD agent

2005-03-08 Thread Robert Story
On Thu, 24 Feb 2005 11:34:54 -0800 Dong, wrote: DL> I downloaded Net-SNMP version 5.2.1 and just setup through basic DL> configuration for snmpd.conf I run snmpget from another PC to send get DL> message to agent but it does not receive any response. By running DL> Ethereal on both

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 sho

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> C>I tried to use the mib2c to generate the stubs. But it asked to C> load the PERL module. I got some info for doi

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 res

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 limitatio

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 sn

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 r

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

Re: walking the table

2005-03-08 Thread Robert Story
On Wed, 2 Mar 2005 18:30:54 -0500 sun wrote: S> I hope some one could answer me this time. S> In my table handler, when handling the GET, if a column get wrong data and I S> called the netsnmp_set_request_error() and break out from the switch S> statement. What do you mean, 'a column get wrong

Re: Monitoring Interfaces

2005-03-08 Thread Robert Story
On Thu, 3 Mar 2005 15:45:36 +0200 Chris wrote: CV> I've tried just doing a make and make install in CV> /usr/ports/net-mgmt/net-snmp and running snmpconf to build a config file. What release of net-snmp? CV> But snmpd doesn't seem to open a port to listen on How are you determining that it isn't

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 process

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 - 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 Ju

Re: finding agent executable.

2005-03-08 Thread Robert Story
On Mon, 07 Mar 2005 15:09:59 +0530 Sridhar wrote: SS> If you have installed with default options, then the installable will be SS> under /usr/sbin directory, otherwise under the directory specified by SS> --prefix parameter to the 'configure' script. Actually, when installing directly from source,

Re: MIB Data Type

2005-03-08 Thread Robert Story
On Wed, 2 Mar 2005 23:53:50 +0530 Jude wrote: JAA> I want to understand the difference between JAA> MIB's OCTET STRING and DISPLAY string... A Display string is just an octet string that is defined to contain ascii characters. JAA> wat should i use to store some "description or text" DisplayS

Re: Tables with 2 indexes

2005-03-08 Thread Robert Story
On Wed, 2 Mar 2005 12:48:07 -0500 sun wrote: S>I have a table with 2 indexes. The table Enry defined an auxiliary S>variable for second index to indentify the instance. S> I used mib2c.iterate_access.conf to generate the code frame work. In my S> xxx_get_next_data_point() function, I di

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

2005-03-08 Thread Michael Higgins
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 the same setup with

Re: TIME OUT

2005-03-08 Thread Jude Amal Anand
Yeah now i get the Results for WALK. I commented the INFORMSINKS in my snmpd.conf file now the error snmpd: send_trap: Timeout does not appear on screen. and am sending the trap to the local machine. It works fine. Now if i need to send TRAP to a remote machine(192.169.10.2) does changing the l

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

2005-03-08 Thread Robert Story
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 the same setup with 5.0.9 and everything

Re: TIME OUT

2005-03-08 Thread Robert Story
On Sat, 5 Mar 2005 01:43:00 +0530 Jude wrote: JAA> I recently installed Net-snmp in my linux rh9 machine. JAA> NET-SNMP version 5.2.1.rc3 I'd suggest upgrading to the full 5.2.1, instead of rc3. JAA> % snmpwalk -v 1 -c public localhost system JAA> JAA> But it shows the following error after a fe

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: Unkn

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: 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 udp6:[3ff

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. m

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

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 ma