dropping bad AgentX request (wrong mode 2)

2007-09-27 Thread Uday Sorte
Hello Folks, I am using Net-SNMP 5.4 where I am running an Agent and a Subagent. I am using my own MIB. When I issues the SET request, the Subagent is complaining about dropping bad AgentX request (wrong mode 2). Does anybody has any clue of what could be going wrong. Thanks in advance,

IP Address Conversion functions

2007-08-16 Thread Uday Sorte
Hi, Net-SNMP uses u_long internally to represent IP Addresses. Can somebody help me out in locating the functions to convert IP Address to u_long and vice a versa within the Net-SNMP package. Thanks, Uday - This

subagent problem on target platform

2007-07-27 Thread Uday Sorte
Hello Members, Following is the description of my problem. Step 1. *-- I compiled the net-snmp 5.4 successfully and it is perfectly working fine. I am running the master agent and the subagent and everything seems to be working fine. Step 2. *-- But, when I copied the binary snmpd

IP Address System Up Time MIB Variable

2007-07-03 Thread Uday Sorte
Hi Guys, Are there any MIB variables as a part of standard MIB included with net-snmp for reading the system up time (uptime) and system ip address. or Is there any way I can read these parameters via SNMP without implementing my own MIB for these parameters. Thanks in Advance, Uday

Re: DisMan Event MIB Problem

2007-03-03 Thread Uday Sorte
. Thanks, Uday Dave Shield [EMAIL PROTECTED] 3/2/2007 5:44:57 PM 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

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
: get), n)); _mteTrigger_failure( failed to run mteTrigger query ); return; } Any gueses ? What could be wrong ? Thanks in Advance, Uday Sorte Uday Sorte [EMAIL PROTECTED] 3/1/2007 11:27:23 AM The object is in Integer object and it is implemented as a part of subagent

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
mib2c -c mib2c.int_watch.conf ntc2223 I get exactly the same result with 5.4 and 5.3.1 Thanks, Uday Dave Shield [EMAIL PROTECTED] 3/1/2007 5:50:25 PM On 01/03/07, Uday Sorte [EMAIL PROTECTED] wrote: monitor -r 60 -u root -S DisMan Event Testing ntc2223DevTemp == 10 OK - another thing to try

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
Shield [EMAIL PROTECTED] 3/1/2007 5:50:25 PM On 01/03/07, Uday Sorte [EMAIL PROTECTED] wrote: monitor -r 60 -u root -S DisMan Event Testing ntc2223DevTemp == 10 OK - another thing to try: monitor -r 60 -u root -S -I test ntc2223DevTemp.0 == 10 (that's minus-capital-i). This will configure

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
tree, but then why snmpget and snmpset works properly. I also tried monitor -r 60 -u root -S -I DisMan Event Testing ntc2223DevTemp.0 == 10 but did not help Thanks Once Again, Uday Dave Shield [EMAIL PROTECTED] 3/2/2007 3:51:59 AM On 01/03/07, Uday Sorte [EMAIL PROTECTED] wrote: monitor -r

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
) failed: -2 failed to run mteTrigger query Dave Shield [EMAIL PROTECTED] 3/2/2007 10:36:02 AM 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

DisMan Event MIB Problem

2007-03-01 Thread Uday Sorte
variable == 10 Net SNMP Version = 5.4 Can somebody tell me what I am doing wrong. Thanks in Advance for your help, Uday Sorte - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel

Re: DisMan Event MIB Problem

2007-03-01 Thread Uday Sorte
subagent connected disman:event:trigger:monitor: Running trigger (DisMan Event Testing) ntc2223DevConfig: Handle Called ntc2223DevConfig: MODE_GET Called: ntc2223DevTemp disman:event:trigger:monitor: Trigger query (walk) failed: -2 failed to run mteTrigger query Thanks, Uday Sorte Uday Sorte

Re: DisMan Event MIB Problem

2007-03-01 Thread Uday Sorte
10:55:43 AM On 01/03/07, Uday Sorte [EMAIL PROTECTED] wrote: The log which I get after running snmpd *- disman:event:trigger:fire: Returned non-integer result(s): NTC-2223-MIB::ntc2223DevTemp (boolean/threshold) 0 That looks like a problem. What