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

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 comp

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 S

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,

DisMan Event MIB Problem

2007-03-01 Thread Uday Sorte
root monitor -r 60 "DisMan Event Testing" 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 th

Re: DisMan Event MIB Problem

2007-03-01 Thread Uday Sorte
5.4 AgentX 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

Re: DisMan Event MIB Problem

2007-03-01 Thread Uday Sorte
uot;Dave Shield" <[EMAIL PROTECTED]> 3/1/2007 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)

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
;Trigger query (%s) failed: %d\n", (( entry->flags & MTE_TRIGGER_FLAG_VWILD ) ? "walk" : "get"), n)); _mteTrigger_failure( "failed to run mteTrigger query" ); return; } Any gueses ? What could be wrong ? Thanks in Advanc

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
"ntc2223 Device Temperature" ::= { ntc2223DevConfig 1 } END Code is generated using "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:

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
gt; "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: monitor -r 60 -u root -S -I test nt

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
linked properly with the whole MIB 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]

Re: DisMan Event MIB Problem

2007-03-02 Thread Uday Sorte
nitor: Trigger query (get) 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 f

Re: DisMan Event MIB Problem

2007-03-03 Thread Uday Sorte
w problems. 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 suba