Re: DisMan Event MIB Problem

2007-03-02 Thread Dave Shield
On 02/03/07, Uday Sorte <[EMAIL PROTECTED]> wrote: > I tried with the master agent object sysServices and it is working fine. > Means I have problems with the subagent and not with the snmpd.conf file > or anything else. > > What could be the possibility. My subagent is not linked properly with the

Re: build/tag/rpm issues with 5.2.3 and 5.2.2

2007-03-02 Thread Thomas Anders
Rex Tener wrote: > So, I used cvs to check out the HEAD of the net-snmp/dist > directory. However, I couldn't find a tag for the version of the > Makefile or net-snmp.spec file that was used to build 5.2.3. It > appears these files have diverged quite a bit over the last seven > months and wo

Re: net-snmp/net-snmp-config.h #define redefines

2007-03-02 Thread Thomas Anders
Al Chu wrote: > On Fri, 2007-03-02 at 10:14 +0100, Thomas Anders wrote: >> We're fully open for suggestions on how to better handle this in the future. > > I think it's typical to prefix #defines/functions in a manner so that > the average user code will not conflict with any of the > #defines/fun

build/tag/rpm issues with 5.2.3 and 5.2.2

2007-03-02 Thread Rex Tener
I have been trying to build/install a rpm package from source of net-snmp 5.2.3 and 5.2.2 on Fedora Core 3 for the last week with no success. I started with source of the latest release 5.2.3 from the download page: I was able to compile and install

Re: net-snmp/net-snmp-config.h #define redefines

2007-03-02 Thread Al Chu
On Fri, 2007-03-02 at 10:14 +0100, Thomas Anders wrote: > We're fully open for suggestions on how to better handle this in the future. I think it's typical to prefix #defines/functions in a manner so that the average user code will not conflict with any of the #defines/functions. So prefixing N

Re: DisMan Event MIB Problem

2007-03-02 Thread Dave Shield
On 02/03/07, Uday Sorte <[EMAIL PROTECTED]> wrote: > disman:event:trigger:monitor: Running trigger (DisMan Event Testing) > disman:event:trigger:fire: Returned non-integer result(s): NTC-2223-MIB::ntc2223DevTemp.0 (boolean/threshold) 5 Hmmm that looks like the master agent is getting a

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
Logs. for monitor -r 60 -u root -S -I "DisMan Event Testing" ntc2223DevTemp.0 == 10 [EMAIL PROTECTED] ~]# snmpd -f -Ddisman:event No log handling enabled - turning on stderr logging registered debug token disman:event, 1 disman:event:init: init trigger container disman:event:init: create trigger

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
Thanks a lot Dave.. for your help. Here is the update.. I tried with the master agent object sysServices and it is working fine. I could see the traps coming. I tried the following things and all of them are working fine. monitor -r 60 -u root -S -I "DisMan Event Testing" sysServices.0 = 79 mon

Re: DisMan Event MIB Problem

2007-03-02 Thread Dave Shield
On 02/03/07, Uday Sorte <[EMAIL PROTECTED]> wrote: > I tried with the master agent object sysServices and it is working fine. > I could see the traps coming. Right - so the problem is somewhere in the interaction between DisMan monitoring, and AgentX subagents. That's useful information. I'll

Re: site logo broken

2007-03-02 Thread Dave Shield
On 02/03/07, Johnny Halfmoon <[EMAIL PROTECTED]> wrote: > The logo on your site (http://www.net-snmp.org/) looks real pretty, but > I think it is broken. Hmmm... I think you might be right! We've just switched over from CVS to SVN for the project version control (including the web pages). It loo

site logo broken

2007-03-02 Thread Johnny Halfmoon
Hi there, The logo on your site (http://www.net-snmp.org/) looks real pretty, but I think it is broken. Greetings, Johnny -- Connaissez-vous la différence entre les riches et les pauvres ? Les pauvres vendent de la drogue pour s’acheter des Nike alors que les riches vendent des Nike pour s’ach

starting and closing Net-SNMP

2007-03-02 Thread vampirefe
Hello, I started to make my own snmptrapd.exe tool (used snmptrapd as an example). So far im already receiving traps and displaying received variables with OIDs on screen. But i got some errors when closing the trap receiver. I'll try to describe what i got: I have one function that initializes

RE: configuring net-snmp from source

2007-03-02 Thread Adam Bell
I was mislead by this display when I ran snmpd also, since the UDP protocol is used, a LISTEN state is not displayed. It looks like your snmpd is running Good luck. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of zaman L Sent: Friday, March 02, 2007 6:43 AM To: net-snmp

Re: configuring net-snmp from source

2007-03-02 Thread Dave Shield
On 02/03/07, zaman L <[EMAIL PROTECTED]> wrote: > ./snmpd -f -Lo -x udp:127.0.0.1:161 /tmp/snmp.skt No - that's wrong. The -x option is used to specify an *AgentX* socket. So the agent is now listening for AgentX connections on the standard SNMP port, and listening for SNMP connections on th

Re: configuring net-snmp from source

2007-03-02 Thread zaman L
so you can do 1 of 2 things (choose one) a) run snmpd like this: # ./snmpd -f -Lo -c /path/to/your/snmpd.conf I tried that but it gives me the same error. Then I tried with ./snmpd -f -Lo -x udp:127.0.0.1:161 /tmp/snmp.skt Then

SNMP_PDU

2007-03-02 Thread sathyanarayanan Thangavelu
Hi Friends When i used to get the command type for each time it is printing some junk value can anbody tell me the procedure to find the command that in snmp_pdu structure Thanks Sathya - Take Surveys. Earn Cash. Influenc

Re: net-snmp/net-snmp-config.h #define redefines

2007-03-02 Thread Thomas Anders
Albert Chu wrote: > I've begun looking at using net-snmp for a project. It seems that > net-snmp/net-snmp-config.h includes many of the same #defines that > autoconf generates for a project. So if you are using autoconf in your > project and want to use libnetsnmp w/ your project, a ton of #defin

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
The difference is I get a failure in GET now disman:event:trigger:monitor: Running trigger (DisMan Event Testing) disman:event:trigger:monitor: Trigger query (get) failed: -2 failed to run mteTrigger query Without -I option is was walk. Good .. Something has changed. Thanks, Uday >>> "Dave

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
monitor -r 60 -u root -S -I "DisMan Event Testing" ntc2223DevTemp == 10 No... did not help either. I am just giving my test MIB, if in case something is wrong. NTC-2223-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Integer32, Counter32, NOTIFICATION-TYPE FROM SNMPv

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
Hi Dave, I also tried with 5.3.1, same problem.. Looks like I am missing some configuration. Looked at the code in net-snmp-5.3.1/agent/mibgroup/disman/event/mteTrigger.c I think there is a timeout in either netsnmp_query_walk or netsnmp_query_get which are returning with -2. It is most probably

net-snmp/net-snmp-config.h #define redefines

2007-03-02 Thread Albert Chu
Howdy, I've begun looking at using net-snmp for a project. It seems that net-snmp/net-snmp-config.h includes many of the same #defines that autoconf generates for a project. So if you are using autoconf in your project and want to use libnetsnmp w/ your project, a ton of #define redefine warning

RE: Monitor using !=OID

2007-03-02 Thread Emlyn Purvis
Brilliant. That works. Thanks for all your help. Emlyn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: 01 March 2007 22:47 To: Emlyn Purvis Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Monitor using !=OID On 01/03/07, Emlyn Pu

Re: DisMan Event MIB Problem

2007-03-02 Thread Dave Shield
On 01/03/07, Uday Sorte <[EMAIL PROTECTED]> wrote: > monitor -r 60 -u root -S -I "DisMan Event Testing" ntc2223DevTemp == 10 > No... did not help either. But that's not what I said. Please try monitor -r 60 -u root -S -I test ntc2223DevTemp.0 == 10 with the *full* instance OID. Note "ntc