On 06/07/17 09:16, Jaap Winius wrote:
Quoting Scot Kreienkamp <user-9678697f1438@xymon.invalid>:
You shouldn't need the include statement, not sure if that's throwing
it off?
Okay, I removed that line.
Did you restart xymon so it can pick up the new task file, and is it
readable by the xymon user?
I restarted xymon and /etc/xymon/tasks.d/reboot has 644 permissions.
Anything in the logs or /var/log/xymon/reboot.log?
/var/log/xymon/reboot.log should exist as soon as the xymon server
is restarted.
It still doesn't exit.
You should have a xymonlaunch log file, does that report anything
related to this task?
PS, on debian I always install the hobbit-plugins package, which
includes a check for this already.
--
Adam Goryachev
Website Managers
P: +61 2 8304 0000 user-eaec2ffb4cbc@xymon.invalid
F: +61 2 8304 0001 www.websitemanagers.com.au
--
Adam Goryachev Website Managers www.websitemanagers.com.au
--
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you have received this message
in error, please notify us immediately. Please also destroy and delete the
message from your computer. Viruses - Any loss/damage incurred by receiving
this email is not the sender's responsibility.