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

2006-01-28 Thread Jim Trocki

On Fri, 27 Jan 2006, David Nolan wrote:




--On Friday, January 27, 2006 15:25:26 -0500 Kishore Jalleda 
<[EMAIL PROTECTED]> wrote:



I agree with David's point,I am not a Mon pro but what I would suggest is
specifying only the alert part without the full path like this, and also
as he suggested check to see the output and the status codes when mon
starts


Oh!

I hadn't even noticed that...   thats exactly the problem.  The monitor 
option should have only the name of the script in the monitor directory, not 
the full path.


Ah, I agree, that's a good catch, and not at all intuitive. I'll fix
the code so that if a monitor has a leading "/" (i.e. looks like a full
path) it will use it as-is instead of trying to look it up as a file
or path relative to mondir.

I guess the same should be done for alerts.

___
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon


Re: mysql monitor fails: _ListTables deprecated

2006-01-28 Thread Jim Trocki

On Fri, 27 Jan 2006, Nate Reed wrote:


I installed and configured mon 0.99.2 and I noticed the following errors in
the mysql monitor:


[...]


Yet the release notes for Jun 2004 indicate this has been fixed:

-mysql.monitor - fix for deprecation of _ListTables
by Aled Treharne

What's wrong?


Get a more recent version from here:

ftp://ftp.kernel.org/pub/software/admin/mon/devel/

This explains the versioning:

http://www.kernel.org/software/mon/development.html

However one little detail it doesn't mention is how both the 1.1 and the 1.0
are actually "stable" at this point, both of which are available in the "devel"
directory.

This shouldn't remain like this. We need to spank 1.0 and 1.1 on the butt, make
an announcement, make them "official" or whatever, stop speaking of 1.1 as
"devel" but instead as "stable", and make the current 1.1 the starting
point for the new "devel".

___
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon