The object is in Integer object and it is implemented as a part of subagent.
ntc2223DevTemp  OBJECT-TYPE
    SYNTAX  Integer32
    MAX-ACCESS  read-write
    STATUS  current
    DESCRIPTION
        "ntc2223 Device Temperature"
    ::= { ntc2223DevConfig 1 }




snmpwalk gives correct value.

[EMAIL PROTECTED] snmp]# snmpwalk -v1 -c public 127.0.0.1 ntc2223DevTemp
NTC-2223-MIB::ntc2223DevTemp.0 = INTEGER: 20



Also tried adding -S option for monitor.. same old log.

monitor -r 60 -u root -S "DisMan Event Testing" ntc2223DevTemp == 10


Thanks Dave,
Uday


>>> "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):
>    NTC-2223-MIB::ntc2223DevTemp (boolean/threshold) 0

That looks like a problem.
What syntax is this object?
What results do you see if you run "snmpwalk" on this object?


> NET-SNMP version 5.4 AgentX subagent connected

Is this particular object implemented by the subagent?
If so, then the monitor might be triggered before the
subagent is available.
   Try adding the '-S' option to delay the first probe.


Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV 
_______________________________________________
Net-snmp-users mailing list
[email protected] 
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users 




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to