I have a question about client/manager

2007-07-19 Thread bahamute
Hi : I want to write a client/manager . I read the Simple Application code at the page : http://www.net-snmp.org/wiki/index.php/TUT:Simple_Application . when I write codes follow this page ,and run it . my monitor display is : [EMAIL PROTECTED] app]# [EMAIL PROTECTED] app]# [EMAIL PROTEC

Re: exec dose not work in 5.4

2007-07-19 Thread Kelsey Cummings
On Thu, Jul 19, 2007 at 09:41:02PM +0100, Dave Shield wrote: > On 19/07/07, Kelsey Cummings <[EMAIL PROTECTED]> wrote: > >> Sorry - try > >> > >>--with-mib-modules=ucd-snmp/extensible > > > >That seems to have done the trick, though the error it still spits out is a > >bit misleading since it's

Re: exec dose not work in 5.4

2007-07-19 Thread Dave Shield
On 19/07/07, Kelsey Cummings <[EMAIL PROTECTED]> wrote: > > Sorry - try > > > >--with-mib-modules=ucd-snmp/extensible > > That seems to have done the trick, though the error it still spits out is a > bit misleading since it's the same as the error raised by agent/extend. > Perhaps for clarity's

Re: exec dose not work in 5.4

2007-07-19 Thread Kelsey Cummings
On Thu, Jul 19, 2007 at 09:20:57PM +0100, Dave Shield wrote: > On 19/07/07, Kelsey Cummings <[EMAIL PROTECTED]> wrote: > >> ./configure --with-mib-modules=ucd-snmp/exec > > > >That module doesn't exist in the 5.4.1.rc3 source tree, did you mean > >something else? > > Sorry - try > >--with-m

Re: exec dose not work in 5.4

2007-07-19 Thread Dave Shield
On 19/07/07, Kelsey Cummings <[EMAIL PROTECTED]> wrote: > > ./configure --with-mib-modules=ucd-snmp/exec > > That module doesn't exist in the 5.4.1.rc3 source tree, did you mean > something else? Sorry - try --with-mib-modules=ucd-snmp/extensible > > > what is the reasoning behind re

Re: exec dose not work in 5.4

2007-07-19 Thread Kelsey Cummings
On Thu, Jul 19, 2007 at 08:29:56PM +0100, Dave Shield wrote: > On 19/07/07, Kelsey Cummings <[EMAIL PROTECTED]> wrote: > >Is there any way to enable exec support in 5.4.1? > > ./configure --with-mib-modules=ucd-snmp/exec That module doesn't exist in the 5.4.1.rc3 source tree, did you mean somet

Re: exec dose not work in 5.4

2007-07-19 Thread Dave Shield
On 19/07/07, Kelsey Cummings <[EMAIL PROTECTED]> wrote: > Is there any way to enable exec support in 5.4.1? ./configure --with-mib-modules=ucd-snmp/exec > what is the reasoning behind removing backwards compatibility? The output is invalid. It doesn't form a legal MIB structure. Dave

Re: exec dose not work in 5.4

2007-07-19 Thread Kelsey Cummings
On Thu, Jul 19, 2007 at 05:31:33PM +0200, Thomas Zenz wrote: > Hi, > > I updated my Server from 5.1.1 to 5.4 my snmp.conf dose not work > anymore. I just upgraded a host to 5.4.1.rc3 to test if it is affected by bug 1729562 and ran into the same problem. We have quite a bit of software that rel

can't send any trap at real time

2007-07-19 Thread pingouin osmolateur
Hello every body I try to send trap at realtime so I use the following configuration with redhat el5 syslocation earth syscontact [EMAIL PROTECTED] pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat authtrapenable 1 trapcommunity totototo trap2sink 192.168.2.8 createUser myuser MD5 myfirstpass

real time variable monitoring

2007-07-19 Thread [EMAIL PROTECTED]
Hi all! Is it possible to moitor a custom variable in REAL TIME with the snmp agent? Or I have to do pariodic cheks on that variable with "snmp_alarm_register"? May be All monitoring features implemented in snmpd agent or may I implement an external application that monitors my variable and the

exec dose not work in 5.4

2007-07-19 Thread Thomas Zenz
Hi, I updated my Server from 5.1.1 to 5.4 my snmp.conf dose not work anymore. I am using some exec scripts to get exim statistics and an overview of my dhcp scopes. The scripts do nothing else but running a cat on a temp file I generate via cronjob to not run into timeout problems. So I tried th

Re: how to show processes with net-snmp-5.4.1rc3 on HP-UX 11.23

2007-07-19 Thread Thomas Anders
Aleksey Tsalolikhin wrote: > Hi. With net-snmp 5.4.1rc3 on HP-UX 11.23 box I am trying to display > running processes (hrSWRun). My SNMP monitoring program is Solar > Winds (from solarwinds.net). > > And, unlike with my net-snmp 5.3.1 (see email history below), snmpwalk > of my 5.4.1rc3 does not

Re: snmptraps

2007-07-19 Thread Dave Shield
On 19/07/07, Mateus Interciso <[EMAIL PROTECTED]> wrote: > Hello, I'm trying to implement a simple snmptrap, that checks if a > process is running, and if it's not, fire up an email telling the > proccess crashed, stuff like this. Please see the snmpd.conf(5) man page. In particular, the sections

snmptraps

2007-07-19 Thread Mateus Interciso
Hello, I'm trying to implement a simple snmptrap, that checks if a process is running, and if it's not, fire up an email telling the proccess crashed, stuff like this. Now, I've been reading the net-snmp tutorial on snmptraps, and as far as I've understood, I need a custom MIB file right? As wel

Re: Doubts Regarding SNMP Table Index

2007-07-19 Thread Karthikeyan Ramasubramanian
Thanks Dave for your input. The problem got solved. Sorry for mailing you privately. On 7/19/07, Dave Shield <[EMAIL PROTECTED]> wrote: [ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer pri

API for extracting value of OID?

2007-07-19 Thread [EMAIL PROTECTED]
HI all, I've a question. Is there any API -agent side- for direct retrieving of OID values? i.e. I want to compile a shared object that implemented in snmpd daemon is able to retrieve OIDs values directly (without sending a get instruction). Thanks

mib2c.notify.conf

2007-07-19 Thread [EMAIL PROTECTED]
Hi all! I've a problem regarding mib2c.notify.conf. I tell you all! I've implemented a personal MIB: in that MIB i've set some object to monitor and their threshold; i've implemented also a node for trap. Now i've used mib2c.notyfy.conf, and i've obtaine2 1 source file and 1 header file. My prob

how to show processes with net-snmp-5.4.1rc3 on HP-UX 11.23 (Was: Re: net-snmp 5.3.1 on HP-UX 11.23 only returns the first 10 processes - how to show all processes?)

2007-07-19 Thread Aleksey Tsalolikhin
Hi. With net-snmp 5.4.1rc3 on HP-UX 11.23 box I am trying to display running processes (hrSWRun). My SNMP monitoring program is Solar Winds (from solarwinds.net). When I try to look at running processes, Solar Winds tells me that the host does not support the Host Resources MIB. Running snmpd w

Re: SNMPTRAP Problems

2007-07-19 Thread Dave Shield
On 19/07/07, Thomas Anders <[EMAIL PROTECTED]> wrote: > Livio Zanol Puppim wrote: > > Everytime I receive a trap the "traphandle" command executes two times. > > > > snmptrapd -c /etc/snmp/snmptrapd.conf -Lf /var/log/trap.log > > Your config file /etc/snmp/snmptrapd.conf probably gets parsed twice.

Re: SNMPTRAP Problems

2007-07-19 Thread Thomas Anders
Livio Zanol Puppim wrote: > Everytime I receive a trap the "traphandle" command executes two times. > > snmptrapd -c /etc/snmp/snmptrapd.conf -Lf /var/log/trap.log Your config file /etc/snmp/snmptrapd.conf probably gets parsed twice. Either add "-C" or start as env SNMPCONFPATH=/etc/snmp:"`ne

Re: Doubts Regarding SNMP Table Index

2007-07-19 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] > net

Re: Doubts Regarding SNMP Table Index

2007-07-19 Thread Dave Shield
On 19/07/07, Karthikeyan Ramasubramanian <[EMAIL PROTECTED]> wrote: > 1) In the MIB file I have defined the syntax of the index as String > SIZE(1..32). That doesn't sound quite right. Can you please post the exact MIB definitions of your table structure. > 3)In netsnm

Doubts Regarding SNMP Table Index

2007-07-19 Thread Karthikeyan Ramasubramanian
Hi, 1) I have a table with index specified in the form of strings. I have two columns in the table whose elements are also strings. In the MIB file I have defined the syntax of the index as String SIZE(1..32). 2) I used mib2c.iterate.conf for generating the "C" file from the MIB.

help me.

2007-07-19 Thread 高翔
1.About snmp_sess_init(),"May perform one time minimal library initialization." ,what is it mean ? 2.About snmp_read(),"Each socket with it's fd set has a packet read from it * and snmp_parse is called on the packet received.",what is it mean ?

Codenomicon and Protos test suites

2007-07-19 Thread Frank Kuo
Hi, We have received product from our supplier which contains SNMP agent developed based on NET-SNMP V5.3.1. Has anybody tested such version with Codenomicon and/or Protos test suites? Frank Kuo Software Engineering Manager Video Products Group [EMAIL PROTECTED]