[sysmon-help] spawn problems

Kirk Lawson lklawson@heapy.com
Wed, 4 Dec 2002 11:51:00 -0500


I'm having trouble getting the spawn command to work right.

The .conf entry looks like:
object Sound {
 ip "192.168.22.2";
 type ping;
 desc "Doesn't exist so please gen. a message.";
 contact "my-email@mycompany.com";
 dep "my.default.gateway-obj";
 spawn "/etc/rc.d/init.d/callAudibleAllarm";
};

It correctly notes the "down" but when it tries to spawn this small   
script (which simply starts off a repeating "beep" warning) this error is   
generated:

"sh: c.d/init.d/callAudibleAlarm: No such file or directory"

What's the deal and, more importantly, how do I fix it?

Peace favor your sword
 ---
"In these modern times, many men are wounded for not having weapons or   
knowledge of their use."
 -Achille Marozzo, 1536