Scott, Thanks for the help.
I'm using it in this 2nd way to have a machine without OpenView send SNMP traps to open view. Do you have the copy of your script that does this? I'm overly comfy with Net-SNMP and it's Perl library -- I wrote a module that runs ontop of it (SNMP::Info). It's OpenView that scares me ;-) Do you have any pointers on how to number the traps? I'm not quite clear if I have to use a separate trap for each priority level. For example let's say I want to send a trap of priority 'marginal' or 'critical' -- Can I encode that priority level in the trap, or do I have to define traps for different levels? With DNS I'm probably going to have minor alerts sent out for zone's being out of sync, and then critical alerts for servers being all the way down, etc. Max UCSC PS. I used to live in Barcelona... On Tue, Jun 24, 2003 at 08:24:28AM +0200, Scott Prater wrote: > We're running on Mon the same machine where HPOV is installed, so we use > ovevent (see the alert script in contrib). > > Nonetheless, OpenView has a trap daemon that receives plain old vanilla SNMP > traps. I've also set up Mon on other machines and modified my alert script > to use a local snmptrap program or function to send traps to OpenView. The > Net-SNMP package is very useful, particulary as it also contains perl > modules to do SNMP stuff (such as send traps). > > Scott Prater > Dpto. Sistemas > [EMAIL PROTECTED] > > SERVICOM 2000 > Av. Primado Reig, 189 entlo. > 46020 Valencia - Spain > Tel. (+34) 96 332 12 00 > Fax. (+34) 96 332 12 01 > www.servicom2000.com > > > > > > -----Mensaje original----- > > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > nombre de Max Baker > > Enviado el: lunes, 23 de junio de 2003 20:40 > > Para: Bates, C Thomas; Mon Users > > Asunto: Re: Using MON with OpenView > > > > > > Thomas, > > > > Thanks for the reply. I think what they are looking for over here is a > > remote monitoring station that is apart from the HPOV box. On this > > machine (probably another server sitting somewhere on the network) mon > > will run and monitor services, then send traps back to HPOV. Do you > > know if you can run the opcmsg (or something similar) away from the > > whole OpenView install, on another machine (under a different platform)? > > > > -m > > On Mon, Jun 23, 2003 at 01:54:46PM -0400, Bates, C Thomas wrote: > > > I have used opcmsg for Openview alerts. A sample alert script is: > > ... > > > $retval = `/opt/OV/bin/OpC/opcmsg severity=\"$opt_v\" application=MON > > > object=\"$opt_s\" msg_text=\"$msg_text\" msg_grp=Apps`; > > > > > > -----Original Message----- > > > From: Max Baker [mailto:[EMAIL PROTECTED] > > > Subject: Using MON with OpenView > > > > > > I just stumbled on mon, about a second before I started to (poorly) > > > reinvent the wheel. This looks way cool! > > > > > > I need a utility that monitors some services (DHCP,DNS,Radius) and > > > creates OpenView events/traps/alerts (whatever they call them) when > > > there is trouble. > > > > > > Seems like MON is a perfect match. > > > > > > If anyone has any hints on this, please post them here. I checked > > > through the archives and found the openview scripts in contrib/, but not > > > too much more. > > _______________________________________________ > > mon mailing list > > [EMAIL PROTECTED] > > http://linux.kernel.org/mailman/listinfo/mon > > _______________________________________________ mon mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/mon
