Hi Miguel.

Miguel Gómez wrote:
I created this line in my NOTIFICATION-PROPIO-MIB.txt (I really cared
that this file were loaded when agent started):

exim4queue OBJECT-TYPE
        SYNTAX Integer32
        MAX-ACCESS read-write
        STATUS current
        DESCRIPTION     "Número de mensajes en la cola de exim.
        READ-COMMAND: /usr/sbin/exim4 -bpc
        READ-COMMAND-TIMEOUT: 10"
        ::= { exim4Info 4 }

But it doesn't work, when I try to do:

snmpget -v 2c -c public localhost exim4queue.0

I get:

NOTIFICATION-PROPIO-MIB::exim4queue.0 = No Such Object available on

this agent at this OID

It seems that the agent knows the variable that we are talking about,
but not its value, do you know what I've got to do?

The READ-COMMAND and READ-COMMAND-TIMEOUT options are not available in Net-SNMP. I suspect they are only available with HP's agent, but I could be wrong. Instead of using READ-COMMAND, you should be using the EXEC or PASS snmpd.conf options. See the snmpd.conf man page for details.


Also read: http://www.net-snmp.org/docs/FAQ.html#How_do_I_add_a_MIB_to_the_agent_

I have moved this message to the net-snmp-users list, as it has nothing to do with SNMPTT.

Alex



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to