[sysmon-help] spawn when a services comes backup

Marko Milivojevic markom at margmidlun.is
Fri Dec 13 16:11:15 EST 2002


	OK, since you quoted what I've put into Bugzilla, let me clear what
I had in mind there :-).

	Your concern regarding running external programs is absolutely
correct and in place. On the other hand, why would you care about it? :-).
If someone uses broken script to perform some check, it's out of your
control, it's not a bad design in Sysmon, isn't it? They asked for it ;-)

	IMHO, it's valuable to have the possibility of running external
programs to check on certain complex things (*SQL inserts, deletes, etc.,
bandwidth or temperature trends (not very simple thing)). It would greatly
improve the value, of already valuable asset such as Sysmon.

	I'm not programmer by trade, but I believe that timing issues could
be addressed somehow. After all, you ARE allowing exec for notify - why not
for check, too?

	The other thing is - what to expect from external program? I'd
believe that return code is the most preferred way. If it's 0, service is
OK, if it's not 0, service is down. Anything coming out to stdout (meaning
there was not an error in software, but in service itself) could go as
message body, or whatever. Also, you could reserve certain exit codes for
external program failures, too.


Regards,
Marko.

> -----Original Message-----
> From: Jared Mauch [mailto:jared@sysmon.org]
> Sent: föstudagur, 13. desember 2002. 15:51
> To: Simon White
> Cc: sysmon-help@puck.nether.net
> Subject: Re: [sysmon-help] spawn when a services comes backup
> 
> 
> 	This should be fairly simple to implement, the biggest concern I
> have is that I hate calling external programs.  I keep what I consider
> 'delicate' track of the time that sysmon spends doing varying
> tasks.
> 
> 	execute-on-down and execute-on-up could be easily done.
> 
> 	(spawn would be alias to execute-on-down)
> 
> 	i just don't want some external task to take forever
> to run and cause the other tests to be all screwed up.
> 
> http://puck.nether.net/bugzilla-2.17.1/show_bug.cgi?id 
> 
> 	- jared
[ 8< ]

Tölvupóstur þessi er frá Margmiðlun hf., Suðurlandsbraut 4, Reykjavík.
Fyrirvara og leiðbeiningar til viðtakenda tölvupósts frá Margmiðlun hf. er
að finna á vefsíðunni http://www.mi.is/fyrirvari 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://puck.nether.net/pipermail/sysmon-help/attachments/20021213/c7fd3d7f/attachment.htm


More information about the Sysmon-help mailing list