[sysmon-help] Re: sysmon 0.91.11 / spawn program problems

Jared Mauch jared@sysmon.org
Tue, 6 Aug 2002 07:56:34 -0400


	This is due to a bug related to lack of testing of
the spawn feature in my 'lab'.

	I'll release a new version in a few days that reflects this
fix.

	- jared

On Fri, Jun 21, 2002 at 04:10:42PM -0400, Bruce S. Garlock wrote:
> I am trying to get sysmond to spawn a program when a service fails, but
> it does not work correctly.  Here is an example of my /etc/sysmon.conf
> file, with the relevant config information:
> 
> object imap {
> ip "linux.server";
> type imap;
> desc "IMAP";
> username "guest";
> password "guest";
> dep "linux.server";
> spawn "/usr/local/bin/inetdrefresh.sh";
> contact "root@linux.server";
> };
> 
> 
> And here is sysmond running in debug mode:
> 
> [root@linux sysmon_scripts]# sysmond -d
> sysmond: 16:03:29 Starting System Monitor version v0.91.11
> System Monitor version v0.91.11
> sysmond started on linux.server
> contact when 3/1
> sh: refresh.sh: command not found
> 
> As you can see, sysmond is not reading the spawn line correctly.  Please
> advise..
> 
> Best regards,
> 
> Bruce
> 
> 

-- 
Jared Mauch  | pgp key available via finger from jared@puck.nether.net
clue++;      | http://puck.nether.net/~jared/  My statements are only mine.