Re: about snmpd sending traps/informs

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Net-SNMP
Message-ID <20050804061713.0efe12c1@aud>
On Wed, 20 Jul 2005 17:27:29 +0200 maxime wrote:
MS> First, I'd like snmpd to watch if some values in the system have 
MS> changed. I know how to do this for things in MIBs, but how could i do 
MS> this for a number in a file ? Is there a node of the ucdavis MIB that 
MS> allows to do this or should i write a new MIB and a new module ?

You could use a script and the exec/pass tokens (see snmpd.conf). You don't
really need a MIB to do this.

MS> Then i'd like to use the monitor rule in snmpd.conf (i compiled with 
MS> DISMAN-EVENT-MIB), but at present my snmptrapd can't see any 
MS> traps/informs sent by my agent appart from notifyRestart or 
MS> notifyShutdown and v1 traps. I followed the snmpd.conf manpage.

We'd need to see the trap/inform sink entries from snmpd.conf. You could also
run but snmpd and snmptrapd with -d to see packet dumps and see if packets are
actually flowing.

MS> Finally i'd like to know how i should do to change traps/informs conf 
MS> dynamically, 

The correct way to configure trap destinations dynamically would be via the
snmp target and notification MIBs.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.