Re: SNMP Support in PHP

2004-09-07 Thread Thomas Anders
Robert Story (Users) wrote: Remember, this is an open-source package, and we are all volunteers. The PERL module came into existence because someone contributed it, and it is maintained because some of the developers actually use it. So until someone needs to do PHP, things are likely to remain as

Hi

2004-09-07 Thread Sitaraman .V.R
Hi, I am using version 5.0.9. I am trying to extend the agent in the style given in the mibgroup/examples/example.c file. I have the following problem Any help will be appreciated Thanks I am only adding simple integer/string. Things work fine if i use variable2 as in struct variable2

variables3 Not Working but variables2 does

2004-09-07 Thread Sitaraman .V.R
Hi, I am using version 5.0.9. Am attempting to extend the agent in the style of example.c given the examples directory. I am only adding simple Integers strings. Things work if i use struct variable2 as such struct variable2 example_variables[] = { {EXAMPLESTRING, ASN_OCTET_STR,

Re: Hi

2004-09-07 Thread Dave Shield
{LABCALLSINDEX,ASN_INTEGER, RONLY, var_example, 2, {18,1,1}} That line is wrong. You've got 3 subidentifiers in the list, so the length must be declared as 3 Try {LABCALLSINDEX,ASN_INTEGER, RONLY, var_example, 3, {18,1,1}} Dave

Help needed for BITS implementation

2004-09-07 Thread Sasikumar Bodathula
Hi, I am facing some problem while implementing Accounting control MIB i.e one of the entry has data type BITS value ranges from 0-9 , I am passing the bit value through character array (size 2).But it is taking the value present in the first character , not reading the second character. Can

RE: Help needed for BITS implementation

2004-09-07 Thread Kurapati M-G19456
Are you implementing your MIB in a subagent? Or, are you compiling it as part of the SNMP Agent? it in your e-mail is not clearly telling which part(subagent/agent) of the SNMP that you are talking about. Mahesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: Help needed for BITS implementation

2004-09-07 Thread Sasikumar Bodathula
Hi, I am implementing in my sub-agent the code is generated with mib2c tool with mibb2c.iterate.conf option. Sasi Kumar. On Tue, 2004-09-07 at 19:23, Kurapati M-G19456 wrote: Are you implementing your MIB in a subagent? Or, are you compiling it as part of the SNMP Agent? it in your e-mail is

Re: Host resources MIB on Windows

2004-09-07 Thread Users
On Tue, 7 Sep 2004 14:22:41 +0100 Garry wrote: GS Platform: GS Windows 2000 GS net-snmp-5.1.2-1.win32.exe GS GS I would like to use the host-resources mib on Windows. GS Please could you point me at documentation that will describe how to do GS this. I don't think the host resources mib is

Re: Trap GUI

2004-09-07 Thread Users
On Mon, 06 Sep 2004 15:24:31 +0200 Steve wrote: SC Can anyone recommend a simple trap handler GUI ? If such a thing exists :0 Try poking around on www.snmplink.org. They have link to lots of various snmp apps. -- Robert Story; NET-SNMP Junkie http://www.net-snmp.org/

Re: snmp oid's problem

2004-09-07 Thread Users
On Mon, 06 Sep 2004 22:32:57 +0200 Capacci wrote: CT I am trying to monitor a network usage by checking ifInOctet and CT ifOutOctet but the snmpget command send me Unknow host, no such file or CT directory. Please give us the exact options your using with snmpget, and the version of net-snmp

Re: Problem using net-snmp with Sitenet snmp-agent.

2004-09-07 Thread Users
On 6 Sep 2004 05:01:50 - Rohit wrote: RS I am facing a problem while sending a request to the Sitenet snmp-agent RS using snmpget. It gives timeout although another utility snmputil.exe RS is working fine and giving proper result. RS RS The command I give is RS RS C:\Program

Re: snmp traps

2004-09-07 Thread Users
On Sun, 05 Sep 2004 15:36:00 -0300 Jose wrote: JD I need to do monitoring in the intranet, by implementing snmp traps JD sent by several hosts to the host holding Nagios here at the office. JD JD The case is: I have almost no idea on how to use OID's in Linux to use JD snmptrap and to send the

Re: client numbers?

2004-09-07 Thread Users
On Mon, 6 Sep 2004 10:29:50 +0200 Harnois wrote: HAS Please could you tell me how many clients can connect to one server at the HAS same time? snmp runs over UDP, so there are no 'connections'. The agent processes one request at a time (except for AgentX sub-agents or other delegated requests),

Re: subagent giving error

2004-09-07 Thread Users
On Fri, 3 Sep 2004 17:52:39 -0600 Gururaja wrote: GR I am new to net-snmp, and I am getting the following error, when I run the GR subagent. GR GR Error: Failed to connect to the agentx master agent: Unknown host (No such GR file or directory) Are you running the subagent as the same user as the

Re: Sending both trap and inform from the net-snmp agent?

2004-09-07 Thread Users
On Fri, 3 Sep 2004 13:55:36 -0700 Rachel wrote: RW I saw the man page of snmpd that you can configure the agent to send RW snmp v2 traps using trap2sink and notification using informsink at the RW same time. This is a very useful feature. Is there anywhere else that RW documents more details of

Re: AgentX protocol really slow?

2004-09-07 Thread Users
On Fri, 03 Sep 2004 15:30:36 -0400 [EMAIL PROTECTED] wrote: CRC I'm running net-snmp 5.1.1 and a sub-agent on a 50MHz Embedded Linux CRC system and I'm finding it takes approximately 10x longer to get data in CRC the subagent than to get data in the snmpd. Responses to requests for CRC core date

Re: Problems with snmpconf

2004-09-07 Thread Users
On Sat, 4 Sep 2004 00:04:52 +0200 Niels wrote: NB On Fri, Sep 03, 2004 at 01:49:53PM -0400, Gavino Siciliano wrote: NB bash-2.03# snmpconf -g basic_setup NB Not enough arguments for mkdir at /usr/local/bin/snmpconf line 186, near NB $opts{'I'}) NB NB It seems that the very old perl version

Re: Host resources MIB on Windows

2004-09-07 Thread Garry Smith
Hi Robert, GS I would like to use the host-resources mib on Windows. I don't think the host resources mib is supported in the windows binary. There are 3 build environments for windows: Visual C++, cygwin and mingw. Cygwin is the only one with any support for host resources. I'm pretty sure

struct tree in parse.h question

2004-09-07 Thread Pedro Neves
Dear All: 1º Can someone please explain me the difference between the struct node and the struct tree defined in parse.h? 2º In the struct tree we have the following statement: struct tree*next_peer; /* Next node in list of peers */ struct tree*next; /* Next node in

net-snmp CVS Solaris make problem

2004-09-07 Thread Andrews, Glenn J (Glenn)
I downloaded the latest CVS via.. # !/usr/bin/bash export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot/net-snmp cvs login cvs co net-snmp I then did ./configure make make test (all 46 tests passed) but when I did 'make install' I got an error.. $ make install creating directory

SUMMARY: Can the ip address used by an snmpwalk be specified?

2004-09-07 Thread Fiedler, Todd, A
SUMMARY: After some testing, it would seem that when given a choice of multiple interfaces on the same subnet, linux or at least Redhat Enterprise 3, takes the last one defined. So, in my case, the traffic was all going out the third virtual interface. When I redefined the virtual interface

variable binding question in getBulk

2004-09-07 Thread
Hi, I have a question about variable binding numbers in getBulk Message. How many variable bindings can be arraranged in a getBulk Message low. I wish to processing getBulk message which variable binding numbers are 44, and max repetitions are 2. Is This supported in net-snmp-5.1.1? Best

local only mib numbers?

2004-09-07 Thread Steve Wray
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there! My first post on list so I hope this isn't a FAQ with a really obvious answer. I've been developing a bunch of perl scripts to query snmpd on clusters of Linux boxes, plugging the data into rrd databases and generating graphs from them.

Ye Huang/ITG is out of the office.

2004-09-07 Thread yhuang
I will be out of the office starting 08/30/2004 and will not return until 09/15/2004. I will respond to your message when I return if needed. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- This message is for the named person's use only. This communication is