SSL Certificate expiration monitor

2011-01-31 Thread Ed Ravin
31 21:56:52 root Exp $ # my $usage="Usage: sslcert.monitor --expiry NN --port NNN [--starttls {imap|smtp|pop3|ftp}] hostname [...]"; # check SSL certs of direct SSL-wrapped services or STARTTLS services # alarm if certificate expires within "--expiry" days. # Written by Ed R

Re: AMANDA Monitor

2011-01-07 Thread Ed Ravin
On Fri, Jan 07, 2011 at 06:52:19PM -0500, Nathan Gibbs wrote: ...> > > I suppose, if you didn't want to read your reports, you could have > > procmail or something route them all to a folder where something like > > SEC could scan them and then only generate an alert when there was > > something o

Re: multi RBL monitor

2010-05-22 Thread Ed Ravin
sts to the Mon list, I see that the script I just re-submitted to the list was inspired by Tim Hanes's work, but I had to do a total rewrite to use asynchronous I/O. Speaking of credit, I see my author line was edited out of the version Jim put into CVS. What's that about? -- Ed

Re: multi RBL monitor

2010-05-20 Thread Ed Ravin
all the requests simultaneously # Copyright (c) 2007, 2008 by Ed Ravin . License is GNU. # Available to the public courtesy of Public Access Networks http://panix.com my $usage="\ Usage: rbl.monitor [options] hostname [...] Options [and default values]: --listfile [pr

Re: Updated Clam AV monitor

2009-11-01 Thread Ed Ravin
On Sun, Nov 01, 2009 at 04:39:03PM -0500, Nathan Gibbs wrote: > AAAHHH! > > Every minute run clamd.monitor against our servers. > > Later that day... > A few hundred emails to our noc with the subject line > VIRUS ALERT: Eicar-Test-Signature ... > If' I'm going to use this code, emailing the noc

spamd.monitor

2009-11-01 Thread Ed Ravin
On Sun, Nov 01, 2009 at 07:57:34AM -0500, Nathan Gibbs wrote: > * Ed Ravin wrote: > > We use a similar monitor for SpamAssassin that uses the corresponding > > "fake spam signature" to test whether spamd is checking messages - if > > anyone's interested, let m

Re: Updated Clam AV monitor

2009-10-31 Thread Ed Ravin
Sorry, I should have posted the clamd.monitor used at my shop. The one from http://www.cmpublishers.com/oss/ checks the TCP banner, complains if the socket isn't answered or if you're running an outdated clamd (the latter a nice feature which is not in the one I've been using). However, the clamd

Re: problem with syslog & mon 1.2.0

2009-01-16 Thread Ed Ravin
On Fri, Jan 16, 2009 at 08:36:22AM -0500, Jim Trocki wrote: > On Thu, 15 Jan 2009, Tom Lieuallen wrote: > >> A while ago, I upgraded from mon-0.99.3-47 to mon-1.2.0. I believe that >> was the time when I stopped getting syslog output from mon. > > try the attached patch. > > there's a wrapper func

Re: multi depend gives error

2008-08-19 Thread Ed Ravin
On Tue, Aug 19, 2008 at 01:23:24PM +0200, Udo Rader wrote: > - ---CUT--- > watch foo > service bar > depend webservers1:ldap gateway:ping > [...] > > eval error for dependency starting at webservers1:ldap gateway:ping > - ---CUT--- Dependencies are Perl expressions. Tr

Re: CUPS monitor?

2008-07-09 Thread Ed Ravin
On Wed, Jul 09, 2008 at 03:02:39PM -0700, Don Forbes wrote: > I'm looking for a monitor to test our CUPS server for problems; > disabled printers (printer state)... the usual statistics here. Try using one of the http monitors with a URL that lists out the printer state, and look for a match (or n

Re: Config File Questions

2008-06-05 Thread Ed Ravin
On Thu, Jun 05, 2008 at 03:53:08PM +0100, Bryan Chapman wrote: >Our config file is getting a bit out of hand, its 2600 lines long now >and a bit of a head ache to manage. > >Is it possible to have a main configs file and to `include' other >sub-config files? You can do it by conv

Re: bash-based snmpdiskspace.monitor

2008-05-08 Thread Ed Ravin
On Thu, May 08, 2008 at 12:22:40PM -0400, Jonathan Baxter wrote: > I recently installed mon on some opensuse 10.3 machines, but could not > get the snmpdiskspace.monitor to work. I am not a perl guy, but it > seems the information coming back from the perl Net::SNMP module is > not correct, in t

Re: bash-based snmpdiskspace.monitor

2008-05-08 Thread Ed Ravin
On Thu, May 08, 2008 at 12:22:40PM -0400, Jonathan Baxter wrote: > I recently installed mon on some opensuse 10.3 machines, but could not > get the snmpdiskspace.monitor to work. I am not a perl guy, but it > seems the information coming back from the perl Net::SNMP module is > not correct, in t

Re: Monitoring for a hung NFS mount?

2008-04-02 Thread Ed Ravin
On Wed, Apr 02, 2008 at 10:49:00AM -0700, Augie Schwer wrote: > On the topic of NFS; the next step would be to do a compare between > mtab and fstab and alert if everything you thought was mounted > actually wasn't; seems pretty trivial, but anyone already have > something written up? No, but reme

Re: Putting a server into maintance

2008-03-12 Thread Ed Ravin
On Wed, Mar 12, 2008 at 09:44:59AM -0600, Michael Osburn wrote: > How are most of you managing planned system > downtime? In most cases, our engineers log into Mon and use the "host disable" or "service disable" to stop montoring the stuff that's about to go down, and re-enable them when the ma

Re: mon not reporting on localhost

2007-12-06 Thread Ed Ravin
On Thu, Dec 06, 2007 at 04:18:01PM -0700, Osburn, Michael wrote: ... >### group definitions (hostnames or IP addresses) >hostgroup servers 127.0.0.1 >watch servers >service http >interval 5m >monitor http.monitor >period wd {Mon-Fri} hr {7am-1

Re: mon project

2007-08-26 Thread Ed Ravin
On Sat, Aug 25, 2007 at 11:55:10AM -0400, Allan Wind wrote: > On 2007-08-25T06:15:31-0700, Augie Schwer wrote: > > I thought the same way you did a few months ago, that the Mon project > > was dead, but it's not, it's just not very visibly alive. ;) > > This is bad when someone evaluate this proje

Re: Monitor for SSL Certificate expiration date

2007-07-16 Thread Ed Ravin
On Mon, Jul 16, 2007 at 07:14:38PM +0200, Jan-Frode Myklebust wrote: > On 2007-07-16, Owen Crow <[EMAIL PROTECTED]> wrote: > > > > It seems like this can be done with the openssl command line, but I > > can only get certificate date information _after_ the certificate > > expires. If anyone knows

Re: Monitor for SSL Certificate expiration date

2007-07-16 Thread Ed Ravin
On Mon, Jul 16, 2007 at 10:41:15AM -0500, Owen Crow wrote: > I've seen some tests mentioned in this list, but they point to broken links. > > It seems like this can be done with the openssl command line, but I > can only get certificate date information _after_ the certificate > expires. If anyon

mon.cgi: patch to untaint monitor output

2007-07-12 Thread Ed Ravin
One of my custom monitors was printing the output of a syslog entry as its summary output. The syslog entry was from a mail program, so it had stuff like "to=<[EMAIL PROTECTED]>". But in mon.cgi's output in my Web browser, it just said "to=". This is because mon.cgi is just dropping the output

rbl.monitor - warn if mailservers are in a blacklist

2007-07-03 Thread Ed Ravin
I've rewritten the prototype rbl.monitor that was submitted by Tim Hanes a while back. This version uses asynchronous DNS requests (using Net::DNS), and allows for an external list of the RBL zones to check. It also has a master timeout in case it gets stuck on any of the DNS queries. Please let

Re: Mon not logging to Syslog

2007-06-19 Thread Ed Ravin
On Mon, Jun 18, 2007 at 04:31:33PM +0200, Rados??aw Koz??owski wrote: > I'm running mon r1.22 on RHEL 4 with perl 5.8.5 and the following line: > > my @log = map { s/\%//mg; } @_; > > in > > no warnings; # Redefining syslog > sub syslog { >eval { >

Re: Mon not logging to Syslog

2007-06-18 Thread Ed Ravin
On Mon, Jun 18, 2007 at 04:31:33PM +0200, Rados??aw Koz??owski wrote: > I'm running mon r1.22 on RHEL 4 with perl 5.8.5 and the following line: > > my @log = map { s/\%//mg; } @_; > > in > > no warnings; # Redefining syslog > sub syslog { >eval { >

mon disable/enable bug when one host is in two groups?

2007-05-18 Thread Ed Ravin
I have something like this in my Mon config: hostgroup misc_hosts fnord hostgroup herd_hosts fnord word bord lord dord When I try to disable fnord in mon.cgi - it doesn't get disabled - instead the hostgroup misc_hosts gets disabled. I think this code is to blame: 2829 for

Re: Leave alert's ack'd through restart

2007-03-07 Thread Ed Ravin
On Thu, Mar 08, 2007 at 01:40:04PM +1030, Ben Ragg wrote: > We've noticed when we reread the config files that our ack'd devices > become unack'd. Is there a way to avoid this? Assuming you're using one of the recent versions of mon, your man page should mention this command-line option: -l st

Re: fping.monitor output problems

2006-12-20 Thread Ed Ravin
On Tue, Dec 13, 2005 at 04:53:21PM +0100, Hans Kinwel wrote: > > I finally went to the bottom of this. Not that it is rocket science. > > When I do fping 1.2.3.4 I get > > ICMP Host Unreachable from 194.178.10.133 for ICMP Echo sent to 1.2.3.4 > ICMP Host Unreachable from 194.178.10.133 for ICM

Re: netsnmp-freespace.monitor - No log handling enabled

2006-11-29 Thread Ed Ravin
Did you upgrade or downgrade the net-snmp libraries? Googling for "No log handling enabled - turning on stderr logging" suggests that there is a Perl / NetSNMP library mismatch. Another possibility is that someone installed another copy of net-snmp / ucd-snmp in a directory in the library path, o

Any mon-sters attending LISA '06?

2006-10-29 Thread Ed Ravin
Hey gang, it's that time of year again. Anyone attending LISA '06 in DC this December? -- Ed ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon

Re: Contrib: RBL lookup monitor

2006-10-13 Thread Ed Ravin
On Fri, Oct 13, 2006 at 10:28:06AM +0100, Tim Haynes wrote: > I've implemented an RBL monitor for work - checks to see if hosts are > listed in a blacklist, so I thought I'd contribute it back to mon - > see attached. (Work have approved its release under the GPL.) > > Usage: rbl.monitor host

Re: Getting "20" instead of spaces

2006-07-26 Thread Ed Ravin
On Wed, Jul 26, 2006 at 03:52:55PM -0500, Tim Carr wrote: > OK, I checked my Client.pm module, and found this as a version: > > # > # Perl module for interacting with a mon server > # > # $Id: Client.pm 1.4 Thu, 11 Jan 2001 08:42:17 -0800 trockij $ That looks kind of old. You want to use this on

Re: Getting "20" instead of spaces

2006-07-26 Thread Ed Ravin
On Wed, Jul 26, 2006 at 12:14:10PM -0500, Tim Carr wrote: > >Has anyone run into a problem where mon, in all its outputs (monshow, >monfailures, mon.cgi) is returning anything generated by a config file >(i.e., the description) or a monitoring output (i.e., tcp.monitor), >with a "2

New version of "monfailures" client

2006-05-22 Thread Ed Ravin
On Tue, May 16, 2006 at 02:46:54PM -0400, Ed Ravin wrote: > I need to automate the "kick something when it falls over" stage of > system management. Mon is the way we detect that things have fallen > over, but the host Mon runs on is not the host that has the privileges &g

Re: 'Sunnyvale, You Have a Problem'

2006-05-18 Thread Ed Ravin
On Thu, May 18, 2006 at 06:53:38PM -0400, Jim Trocki wrote: > Think of a worldwide network of mon servers And think of your job, and mine, reduced to waiting around for someone in India to call us and tell us to "reboot the server"... And then think of all those idle network engineers in India, a

Using mon to kick things?

2006-05-16 Thread Ed Ravin
I need to automate the "kick something when it falls over" stage of system management. Mon is the way we detect that things have fallen over, but the host Mon runs on is not the host that has the privileges to kick things. So here's my question: Has anyone built a Mon client that can make decisi

Updates to snmpdiskspace.monitor

2006-03-20 Thread Ed Ravin
-debug and --usemib options. Latter needed so you can force use # of UCD mib if you want inode status. # * rearranged the error messages to be more Mon-like (hostname first) # * added code to synchronize instance numbers when using UCD MIB. This # could solve the "sparse MIB"

Re: opt_d

2006-02-13 Thread Ed Ravin
On Mon, Feb 13, 2006 at 02:07:25PM -0600, Nate Reed wrote: > How do I set $opt_d for my monitors/alerts? Is there something in the mon.cf > file? Yes, but "-d" is usually for debugging options. If you want to debug something, it's better to run it from the command line, as some of the monitor w

Re: Announcing ospf.monitor (beta-1 :-)

2006-02-05 Thread Ed Ravin
On Mon, Feb 06, 2006 at 01:53:58AM -0500, Ed Ravin wrote: > Attached is my first try at an OSPF monitoring script meant for use in Mon. > It's loosely based on bgp.monitor. ... > The script will also tell you about addressless interfaces that have > OSPF enabled - I need to put a

Announcing ospf.monitor (beta)

2006-02-05 Thread Ed Ravin
Use # [0-9] or the like if you need character class matching. Use 'ip|ip|ip' # to exclude multiple peers. # # --community - SNMPv1 community name to use. But it's more secure # to pass the community in via the environment variable COMMUNITY. # # Edit history below # Version 0.1 # # By Ed

Re: Monitor works from the command-line but not from mon

2006-01-27 Thread Ed Ravin
On Fri, Jan 27, 2006 at 02:54:40PM -0500, Brian Landers wrote: > I have a tacacs+ monitoring script that successfully detects failures > when run from the command-line but not from within mon. I'm at a loss > to troubleshoot this one and am hoping the list can help. It seems to > be printing the

Re: pass failed host from a hostgroup to an alert script?

2005-12-07 Thread Ed Ravin
On Wed, Dec 07, 2005 at 01:30:15PM +0100, J Paston wrote: > Afternoon, > I have a hosgroup with 20 hosts. One fails. How can the alert script > know which one failed? Thanks. The monitor script is supposed to send the name of the failing host as the first line of its output (the summary). Please

Re: montrap

2005-11-22 Thread Ed Ravin
On Tue, Nov 22, 2005 at 03:08:56PM -, Julian Cable wrote: > I started using mon about a week ago and got very confused when I > wanted to send traps and got different answers with different versions > of mon when using the montrap contributed script. I worked out there > were a number of issu

Re: eval error for dependency starting

2005-11-17 Thread Ed Ravin
On Thu, Nov 17, 2005 at 10:36:47PM +0100, Frank Isemann wrote: > > Nov 17 22:28:57 lagoon mon[14598]: eval error for dependency starting at > ubcom~dns:ping > > for each group that have a "depend" entry: like "depend SELF:ping" > > this error blocks the "alert" mechanism ... > > is that a gener

Re: Patch for snmpdiskspace.monitor (ext2/ext3)

2005-11-16 Thread Ed Ravin
Hans, thanks for posting the two patches! I hate to look a gift horse in the mouth, but I have a couple of concerns: > Cause was that ext2/ext3 filesystems reserves 5 % for emergencies, ie > root usage only. This is not unique to ext2/ext3 filesystems - it's implemented on most Unix filesystems,

Re: Failed Dependency Checks?

2005-11-10 Thread Ed Ravin
On Thu, Nov 10, 2005 at 02:40:46PM -0600, Aaron Segura wrote: > Since we've upgraded to Mon v1.1.0Pre1 dependency checks > continually fail and all alerts for services that have any dependencies > whatsoever are supressed. I hit this when I upgraded to 1.1.0pre1 too. And I sent a patch in

Re: last_output

2005-11-03 Thread Ed Ravin
On Thu, Nov 03, 2005 at 09:12:40PM +0100, Frank Isemann wrote: > > is there anything like last_output? > > last_summary is the first line of the monitor output ... but i want more ;> Mon 1.1 has the env var MON_LAST_OUTPUT, but I don't think my fixes that actually make it work are in CVS yet. >

Re: Prefixing the alert subject

2005-11-03 Thread Ed Ravin
On Thu, Nov 03, 2005 at 01:44:21PM -0500, Bill wrote: [about including environment variables in the alert subject] [...] > > In this case, the monitor script won't work properly without MIBDIRS > > defined. You can use this feature to pass environment vars into your > > script, so the same alert

Re: Prefixing the alert subject

2005-11-03 Thread Ed Ravin
On Thu, Nov 03, 2005 at 12:12:00PM -0500, Bill wrote: > > I have two questions: > > I am monitoring from a bunch of systems and would love to have a way > to have the ALERT on my mail alerts have something defined before or > after it I can set from the mon.cf file. Quick clip from the Mon man

Re: A few bugfixes missing from fantabulous mon...

2005-10-21 Thread Ed Ravin
On Wed, Oct 12, 2005 at 11:08:49AM -0400, Ed Ravin wrote: ... > I also contributed a few fixes to the alerts that don't seem to > be in mon-1-1-0pre2 - none of the alerts knew about the options for the > new forms of alerts (like ackalerts and trapalerts). Here are my loca

A few bugfixes missing from fantabulous mon...

2005-10-12 Thread Ed Ravin
On Wed, Oct 12, 2005 at 09:54:00AM -0400, David Nolan wrote: > --On Wednesday, October 12, 2005 3:06 AM -0400 Jim Trocki > <[EMAIL PROTECTED]> wrote: > >I think we should just fork the cvs tree and call mon-1-1-0pre2 the > >super fantabulous "mon 1.2" (tag it as mon-1-2-0), then the head will > >b

Re: mon - Sys::Syslog::syslog usage

2005-09-29 Thread Ed Ravin
On Thu, Sep 29, 2005 at 03:32:49PM +0200, Peter HOLZLEITNER wrote: > It's perfectly legal to call sys::syslog with a format having NO > variable placeholders and therefore an empty @args parameter. However, when you include variables in the format, you may end up with surprise results if there ar

Re: Errors from alerts

2005-09-15 Thread Ed Ravin
On Thu, Sep 15, 2005 at 04:37:38PM +0100, Aled Treharne wrote: > Just looking at a few options to extend on my bulksms alert script and > I was wondering what happens if the alert script generates any output > either on stdout or stderr? One of the potential options for bulksms > is a lack of credi

Re: fping.monitor output problems

2005-08-31 Thread Ed Ravin
On Thu, Jul 07, 2005 at 01:05:13PM +0200, Kevin Ivory wrote: > On 2005-07-07 13:00, Kevin Ivory wrote: > >the fping.monitor included with mon-1.0.0pre5 doesn't semm to parse > >the output of fping correctly. > ... > ># ./fping.monitor 192.168.140.3 > >192.168.140.3 ICMP ICMP ICMP ICMP > > some mor

Anyone monitoring SMART disk status?

2005-06-17 Thread Ed Ravin
Is anyone using Mon to monitor their IDE disks onboard "SMART" monitoring features? On NetBSD, one can use the "atactl" command as shown below. If the "reliability" column says "negative", the drive may be in trouble. If an entry marked "yes" in the "critical" column is "negative", data loss is i

Re: nfs monitor exisiting?

2005-06-07 Thread Ed Ravin
On Tue, Jun 07, 2005 at 12:44:02PM +0200, Gilles LAMIRAL wrote: > > Is there any montior existing, where i can check if > > the nfs service is correct running on my servers ?? > > Here is the monitor : > > ls -d /mnt/dir1/* /mnt/dir2/* ... > > where dir1 dir2 ... are the mounted mount points. >

Re: radius monitoring

2005-06-03 Thread Ed Ravin
On Thu, Jun 02, 2005 at 12:07:50PM +0200, Sylvain Clerc wrote: > I arrive to make freeradius.monitor working when I run it alone like this : > ./freeradius.monitor -S /etc/raddb/sec.radclient -f > /etc/raddb/attr.radclient -hosts localhost > > I can read in the freeradius log that it sends an acc

Re: ps.monitor

2005-06-02 Thread Ed Ravin
On Thu, Jun 02, 2005 at 11:47:57AM -0400, Ed Ravin wrote: > On Thu, Jun 02, 2005 at 10:50:57AM -0400, Allan Wind wrote: > > > Was there anything wrong with the ps.monitor? Been a month now, and I do > > not see it in contrib yet. > > My bad, I haven't gotten a ch

Re: ps.monitor

2005-06-02 Thread Ed Ravin
On Thu, Jun 02, 2005 at 10:50:57AM -0400, Allan Wind wrote: > Was there anything wrong with the ps.monitor? Been a month now, and I do > not see it in contrib yet. My bad, I haven't gotten a chance to try it out and put it into CVS. Will do so shortly. BTW, are you also running net-snmp? You c

Re: About radius.monitor

2005-05-24 Thread Ed Ravin
On Tue, May 24, 2005 at 08:20:36AM +0200, Sylvain Clerc wrote: > I'm trying to use mon 0.99 with freeradius on a debian sarge but I > think I have a problem with radius.monitor (or my mon configuration > file). My freeradius doesn't receive any request of mon and I don't > find why. I gave up tryi

Re: h2ph problem with freespace.monitor

2005-05-04 Thread Ed Ravin
On Tue, May 03, 2005 at 10:48:09AM +0200, Joerg Hartmann wrote: > i would like to monitor the diskspace on some servers with mon and > freespace.monitor. > mon runs just fine, unfortunately freespace.monitor does not. > I installed Frilesys::DiskSpace from CPAN several times Did you do "make test

Re: Socket-related prolem running mon on Solaris

2005-04-11 Thread Ed Ravin
On Mon, Apr 11, 2005 at 03:55:01PM +0100, Alex David Shadrach Hooper wrote: > I'm trying to run Mon on solaris > (SunOS unified-ext 5.8 Generic_108528-13 sun4u sparc SUNW,UltraAX-e2) > and keep getting the error > > Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 > at /u

Re: Monitor output size limitation

2005-04-11 Thread Ed Ravin
On Fri, Apr 08, 2005 at 06:33:38PM -0700, Jim Trocki wrote: > On Fri, 8 Apr 2005, David Nolan wrote: > > > > >This is a known bug with some regexps in perl's Text::ParseWords that is > >tickled by large input from mon. > > well it's not really a bug, it's just that the default stack size is > in

Re: ORing hosts in a hostgroup (instead of ANDing) for a monitor

2005-03-26 Thread Ed Ravin
On Fri, Mar 25, 2005 at 10:57:26PM -0300, Raul Dias wrote: > Is it possible to have an monitor to OR the hosts in a hostgroup and if > one SUCCEED the service is considered SUCCESS? > > An example for this is to have a hostgroup with a few internet hosts > and fping them. If one of them succeeds

Re: mon.cgi & summaries

2005-03-23 Thread Ed Ravin
On Wed, Mar 23, 2005 at 06:24:38PM +0100, Marko Riedel wrote: > we are using Mon.cgi version 1.45. What could be the reason why > Mon.cgi does not display the summary output from a monitor when I > select "Show Operational Status" or "Group expansion." The summary > line is there because I can see

Re: monitoring email capability for monitor alerts

2005-03-22 Thread Ed Ravin
On Tue, Mar 22, 2005 at 11:48:50AM -0500, David Nolan wrote: > You might find that your cellular providers provide a way to verify text > message delivery, if you're using their web message submission forms. But > thats problematic because they're likely to redesign their web pages on a > whim,

Re: monitoring email capability for monitor alerts

2005-03-22 Thread Ed Ravin
On Tue, Mar 22, 2005 at 10:01:05AM -0500, Andrew Siegel wrote: > There are many things that can go wrong in the email delivery chain, > making it undependable for alerts of an urgent nature. Better to use > qpage.alert to send TAP/IXO text messages to a pager. Use a modem > directly connected

new and improved nntp.monitor

2005-02-11 Thread Ed Ravin
I've been comparing my Mon setup with 1.0pre5, and turned up a few fixes that I made years ago that never made it into the mainstream. One of them was a whole bunch of fixes to nntp.monitor. In particular, error messages that formerly were only available with debug options (like "no welcome messa

Re: monitor needs to know to keep state seperate from other invocation

2005-02-05 Thread Ed Ravin
On Thu, Feb 03, 2005 at 06:17:39PM -0800, Michael Vogt wrote: > > I don't understand the following in the mon man page: > > "In addition to environment variables defined by the user in the > service definition, mon passes certain variables to monitor process." > > Is this a way to feed this info

Patch to mon.cgi to exclude watches

2005-02-02 Thread Ed Ravin
I needed to set up a separate view of Mon, that shows only a handful of watches. Furthermore, I wanted my regular view of Mon to not show those watches. mon.cgi knows how to "see only these watches", but I didn't see any way to "exclude these particular watches". Hence, the patch. I've implemen

Re: SSH agent problem.

2005-01-27 Thread Ed Ravin
On Wed, Jan 26, 2005 at 04:00:53PM +, Kenneth Modrego wrote: > I've got a Mon configuration (mon-0-99-2.6 ) with ssh and some other > agents that work perfectly with Solaris 8 clients/server. > The problem has appeared when I've installed a new Solaris 9 box, I'm > trying to get my mon serve

new snmpdisk.monitor - monitors inodes, other improvements

2005-01-13 Thread Ed Ravin
On Tue, Jan 11, 2005 at 08:56:49PM -0500, Ed Ravin wrote: > Has anyone hacked any of the disk space monitors to monitor inode > consumption? [...] Oh well, I had to do my own hacking. Along the way, I fixed a few things and added a few new features. If you're using this monitor, I en

monitoring inodes

2005-01-11 Thread Ed Ravin
Has anyone hacked any of the disk space monitors to monitor inode consumption? I've already hacked this into the netapp monitor, but would much prefer to steal someone else's code if this has been done already. Thanks, -- Ed ___ mon mailing li

minor fix for freespace monitors to hide community name

2005-01-11 Thread Ed Ravin
Two patches for free space monitors, to give them the same feature: the ability to specify an SNMP community name in the environment, and thus not display it in the command line for peering eyes to see in the Mon interface (with the name of the monitor program in the details view). -- Ed

fping.monitor improvement

2004-11-29 Thread Ed Ravin
I needed fping to use a larger packet size in order to monitor when a tunnel loses the ability to pass full-sized packets. Hence the patches below to fping.monitor to pass on the "-b " option. Patch is also attached to avoid mail client munging. -- Ed --- fping.monitor 2004/11/24

Re: more mon.cgi login problems

2004-11-14 Thread Ed Ravin
On Sun, Nov 14, 2004 at 10:40:14PM -0800, Joubin Moshrefzadeh wrote: > Thanks for the hint, thats one place I wasn't checking. There > were some error messages about not being able to load Crypt::TripleDES, > which sent me straight to the README for mon.cgi, and after installing > the module, no mo

Re: more mon.cgi login problems

2004-11-14 Thread Ed Ravin
On Sun, Nov 14, 2004 at 06:46:14PM -0800, Joubin Moshrefzadeh wrote: > mon is running fine, I can login from the commandline and execute > commands with moncmd/monshow. But for some reason mon.cgi doesn't > want to login. every time i click on the "log in" link, enter my > id and password, and voi

Re: Generating mon trap for use as heartbeat

2004-11-09 Thread Ed Ravin
> On Tue, Nov 09, 2004 at 01:52:32PM -0800, Michael Vogt wrote: > > > > I am planning to monitor some application servers on a datacenter with > > a custom monitor plugin. I want to have another monitor running at a > > remote location to monitor the main monitor at the datacenter (and > > vice-v

Re: mon.cf in a sql database ?

2004-09-30 Thread Ed Ravin
On Thu, Sep 30, 2004 at 05:34:04PM -0400, David Nolan wrote: > --On Thursday, September 30, 2004 3:36 PM +0200 Brice Beauvillain > <[EMAIL PROTECTED]> wrote: > > > >Is it possible for mon to have the mon.cf file in a database ? > There's no way to do that directly, But you can do it indirectly.

Re: david nolan's patches

2004-06-03 Thread Ed Ravin
On Thu, Jun 03, 2004 at 10:52:03AM -0700, Jim Trocki wrote: > this is a matter of historical record which should be public. rather > than post his patched version to the mailing list for everyone to have a > gander at and do something with if they chose, he sent them only to me Sounds like he want

Re: status of Mon development failures?

2004-06-03 Thread Ed Ravin
On Thu, Jun 03, 2004 at 11:02:22AM -0700, Jim Trocki wrote: > wtf, the one you just sent has the same problem. maybe it's an mua > problem on your end? Curiouser and curiouser. I don't have any problems with the message from the mailing list that I received in my mailbox, so I don't think my MUA

Re: status of Mon contrib?

2004-06-03 Thread Ed Ravin
Has anyone heard from Andrew lately? www.nam-shub.org doesn't have the contrib files anymore (or anything else for that matter), and the monitors in the contrib directory on kernel.org don't look like they've been modified since 2002. ___ mon mailing li

Re: status of Mon development failures?

2004-06-03 Thread Ed Ravin
On Thu, Jun 03, 2004 at 10:30:06AM -0700, Jim Trocki wrote: > On Thu, 3 Jun 2004, Ed Ravin wrote: > > > to other developers. I know I've submitted several improvements > > to the monitor scripts in recent months and haven't gotten any feedback. > > netapf

Re: status of Mon development failures?

2004-06-03 Thread Ed Ravin
On Thu, Jun 03, 2004 at 08:07:43AM -0400, David Nolan wrote: > Plus the complete lack of any non-development releases on Mon for almost 3 > years makes me a bit wary of spending large amounts of effort on rewriting > the internals on Mon. Especially since all of the patches I've previously > su

Re: Multi-line descriptions?

2004-05-31 Thread Ed Ravin
On Mon, May 31, 2004 at 07:33:53PM -0500, Tim Klein wrote: > I'd like to be able to put a whole paragraph in the > description, rather than just one line. I could put > the paragraph in comments instead, but then alerts and > clients couldn't make use of it. There's a little-known feature of Mon

Re: Are timeout units always the same for all monitors?

2004-05-26 Thread Ed Ravin
On Tue, May 25, 2004 at 10:03:08PM -0500, Allyn Baskerville wrote: > Are the timeouts always in msec for all services to be monitored? > I didn't see any comments in any of the files. In particular, the > http.monitor and snmpvar.monitor are in use. Thank you. Allyn The monitors usually accept tim

Re: alert scripts

2004-05-11 Thread Ed Ravin
On Tue, May 11, 2004 at 11:26:08AM +0200, [EMAIL PROTECTED] wrote: > Mon works properly with scripts that came with the program, but isn't able > to launch my handmade scripts. Try adding this to the top of the script: exec >/tmp/script.debug.out 2>&1 set -x And review /tmp/script.debug.out

Patch to add sound capabilities to mon.cgi

2004-04-13 Thread Ed Ravin
I finally got around to adding sound into mon.cgi. The patch (attached) lets you specify sounds to play whenever there are unACKed alarms. You can play a different noise for red and yellow conditions, and there's also an alarm if the browser's not logged into Mon. Each of the sounds (red, yellow

alerts going off too soon

2004-03-31 Thread Ed Ravin
I'm having trouble with one of my Mon instances. The alert appears to be getting sent way too soon: > > Group : mailservers > Service: imap > Time noticed : Wed Mar 31 11:33:29 2004 > Members : imapserver1 > Down for 0 seconds > > Detailed text (if any) follows:

Re: mon.cgi + auth

2004-01-06 Thread Ed Ravin
On Tue, Jan 06, 2004 at 11:06:25AM +0200, Eugene Filatov wrote: > Hello! > > I just configured mon (mon-0-99-3.39) for my site and it works well. But > I have problems with auth trough mon.cgi. > > I have default auth.cf with one uncommented line: > "* mon monpassword" That looks like an entry

Re: DNS Monitor

2003-12-30 Thread Ed Ravin
On Tue, Dec 30, 2003 at 11:08:19AM -0500, Casey Bralla wrote: > Has anybody gotten DNS monitoring to work? I get a ": dns.monitor: The > zone master server must be specified" error, even on DNS servers I know > to be fully functional. When you ask questions like this, the answers will be more

updated netappfree.monitor - inode checking, other improvements

2003-12-20 Thread Ed Ravin
[EMAIL PROTECTED]) to add verbose error output, # more error checking, etc. Can be used in conjunction with # snapdelete.alert to auto-remove snapshots if needed. # Modified December 2003 by Ed Ravin ([EMAIL PROTECTED]) to add inode # checking, detect nonexistent filesystem in config file, pass pe

Re: hanging monitor scripts, timers in days

2003-11-15 Thread Ed Ravin
On Wed, Nov 12, 2003 at 01:18:30PM +1100, Ian Holsman wrote: > I am using a slightly patched version of the latest mon-DEV release. > > while running mon I've noticed that some processes (mainly ping.monitor, > but it has happened to http.monitor as well) get 'hung' causing further > checks on t

mon, mon.cgi, and funny passwords

2003-10-27 Thread Ed Ravin
One of my co-workers finally got around to telling me that he hadn't been using Mon for the last three years because mon.cgi kept demanding that he re-enter his password every time he went to a new screen. At first I thought the problem was due to the fact that he was using a Mac, and we'd hit on

Re: [patch] allow mon to read a directory full of config files

2003-10-22 Thread Ed Ravin
On Thu, Oct 23, 2003 at 10:24:45AM +1000, Ian Holsman wrote: > > Hi guys. > I thought this may be useful as config files can get quite big. > this lets you split the file into sections and makes it easier to manage Interesting idea! It would be nice if this patch supported m4 files in the direc

patch to bgp.monitor to correct peer address display

2003-10-21 Thread Ed Ravin
The April 5, 2002 version of bgp.monitor currently on the Mon contrib site does not seem to properly display the IP address of the remote peer when there is an error condition. At least that's the case for me right now, with a Cisco 7513 running IOS 12.0.23s. Here is a patch that corrects the pro

mail loop monitoring - new mail2pop3.monitor

2003-07-24 Thread Ed Ravin
ail in the box will be deleted when the monitor is done. # Based on mailloop.monitor by Bill Smargiassi. Modifed by Ed Ravin # ([EMAIL PROTECTED]) to use Mon's host model, to allow more than # one hostgroup to share a POP3 mailbox, and to print out response # times after a successful run.

Re: can i start eth0 and eth0:0 sepeartly on boot

2003-07-06 Thread Ed Ravin
On Mon, Jul 07, 2003 at 03:05:58AM +, Eric Bond wrote: > One question:I want to setup alias ip of eth0, becuase sometime the > original ip of eth0 has already been used by some other computer. Whoa, hold it right there. Who's managing this network? You should solve the problem whereby m

monitoring cobalt qube3

2003-06-16 Thread Ed Ravin
A while ago I asked on the list if anyone was using Mon to keep track of their Cobalt Qubes or other Cobalt boxes. I've since implemented something that exports Cobalt's Active Monitor status so that Mon can figure out if the Cobalt is complaining about any problems. Please write to me if you're

Re: NFS monitor?

2003-06-09 Thread Ed Ravin
On Mon, Jun 09, 2003 at 06:23:37PM -0700, Hugh Caley wrote: > I have a script for checking space on my mounts. It parses the output > from the "df" command If the NFS server is not available, won't that cause "df" to hang, eventually clogging up your mon server? > >I don't see a NFS monitor any

Re: Mon causing system to freeze

2003-06-06 Thread Ed Ravin
On Thu, Jun 05, 2003 at 10:23:28AM -0700, Donald MacDougall wrote: > Whenever I run mon it causes the system it's running on to freeze > up instantly anywhere from a few minutes after it is started to > several days later. It's instantaneous when it happens, with no > sign of building memory usage

Re: New release of mon?

2003-03-19 Thread Ed Ravin
On Wed, Mar 19, 2003 at 02:49:43PM +0100, Hans Kinwel wrote: > Why not put mon on sourceforge? It's already there - see sourceforge.net/projects/mon . Alas, the latest version there is 0.38.20. And Jim is both the admin and the only developer registered. Jim, have you thought about reactivating

  1   2   >