Hi
Fairly new to using Linux and I'm trying to monitor some additional services in the WHM. I have done some searches on here and managed to get so far but I'm now stuck.
What I have setup so far:
In the WHM service manager I have the following new services being monitored:
In service status they are both listed as "up":
However when they fall over they do not get restarted, I suspect the commands I have set-up are incorrect, I have set-up the following:
In /etc/checksrv.d/
I have created two files:
muninnode
which contains:
service[Munin]=x,x,x,/etc/init.d/munin-node restart,munin-node,root
and
crashplan
which contains:
service[CrashPlan]=x,x,x,/etc/init.d/crashplan restart,java,root
Can anybody spot what I'm doing wrong with them? Whether they are up or down they get reported as being "up" and if they are down they don't get restarted (although that may be because of the above problem).
Any help appreciated
Fairly new to using Linux and I'm trying to monitor some additional services in the WHM. I have done some searches on here and managed to get so far but I'm now stuck.
What I have setup so far:
In the WHM service manager I have the following new services being monitored:
In service status they are both listed as "up":
However when they fall over they do not get restarted, I suspect the commands I have set-up are incorrect, I have set-up the following:
In /etc/checksrv.d/
I have created two files:
muninnode
which contains:
service[Munin]=x,x,x,/etc/init.d/munin-node restart,munin-node,root
and
crashplan
which contains:
service[CrashPlan]=x,x,x,/etc/init.d/crashplan restart,java,root
Can anybody spot what I'm doing wrong with them? Whether they are up or down they get reported as being "up" and if they are down they don't get restarted (although that may be because of the above problem).
Any help appreciated
Attachments
-
13.7 KB Views: 178
-
18.3 KB Views: 177