Monitor process - custom oid
Raúl Mellado <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am monitoring data related to several processes running on a linux machine. Apart from some internal propietary data (which is sent from my processes to my sub-agent via udp socket), I would like to do the following: 1. I have several branches in my mib, something like this: enterprises.mycompanyoid.process1 enterprises.mycompanyoid.process2 Then I would like to have: enterprises.mycompanyoid.process1.status (0 if it's not working, 1 if running; so on for the rest of the processes). I can monitor processes using proc directive in smpd.conf, but then it uses its own oid. Could I use net-snmp process monitoring functionality but with my own oid? I have thought, as a 'dirty' solution, when I receive a get request for my process status, my agent could do internally a get request to the net-snmp process status oid, but I don't know if this is the best way to achieve this... 2. I would like to send custom traps when a process starts or stops... But, again, using my custom defined traps in my MIB... Is this possible using only snmpd.conf file? 3. It doesn't have much to do with the subject of the mail, but I've seen somewhere that snmp traps might have a severity; (debug, error, etc.). Is it possible to set it easily using net-snmp c code? Thank you so much for your work and support, it really makes life easier for us BR Raul ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ 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