[Check_mk (english)] Checking Linux service status

Hello all,

I’ve been a user of nagios for about 8 years, and just recently transitioned to check_mk.

My question is this:

Is there anything built in to check_mk to allow checking status on linux services? We have a few servers here that would greatly benefit from keeping an eye on certain services to see if they have crashed, didn’t startup on reboot, etc.
I see that there is a mechanism for checking Windows service status, as well as processes on linux, but I haven’t found anything for checking Linux services specifically. I did, however, find this plugin in the nagios exchange that appears to do exactly what
I’m after here:

http://exchange.nagios.org/directory/Plugins/Network-and-Systems-Management/Unix-2FLinux-Check-Service-Status/details

If there’s nothing like that in check_mk, would I maybe be able to incorporate this into it without too much trouble?

Thank you,

Nick

this should do what you want...

https://mathias-kettner.de/checkmk_check_ps.html

-B

···

On 07/22/2014 04:14 PM, Nick Schumacher wrote:

Hello all,

I�ve been a user of nagios for about 8 years, and just recently
transitioned to check_mk.

My question is this:

Is there anything built in to check_mk to allow checking status on linux
services? We have a few servers here that would greatly benefit from
keeping an eye on certain services to see if they have crashed, didn�t
startup on reboot, etc. I see that there is a mechanism for checking
Windows service status, as well as processes on linux, but I haven�t
found anything for checking Linux services specifically. I did, however,
find this plugin in the nagios exchange that appears to do exactly what
I�m after here:

Unix/Linux Check Service Status - Nagios Exchange

If there�s nothing like that in check_mk, would I maybe be able to
incorporate this into it without too much trouble?

Thank you,

Nick

The information contained in this electronic message and its attachments
if any, may be confidential, proprietary, privileged or otherwise
protected from disclosure. The information is intended to be used solely
by the intended recipient(s). If you are not an intended recipient any
review, disclosure, copying, distribution or use of this transmission or
its contents is prohibited. If you have received this transmission in
error, please notify the sender immediately and destroy all copies of
this message.

_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

I use the "checks" option.

checks = [
## named daemon check on every other host with tag "bind=server"
  ( ["bind=server"],ALL_HOSTS, "ps", "NAMED", ( "~.*/sbin/named",1,1,10,20)),
## clamd daemon check on hosts with tag "clam"
  ( ["clam"],ALL_HOSTS, "ps", "CLAM", ( "~.*clamd",1,1,1,1)),
]

···

On 7/22/2014 4:14 PM, Nick Schumacher wrote:

Hello all,

I've been a user of nagios for about 8 years, and just recently
transitioned to check_mk.

If there's nothing like that in check_mk, would I maybe be able to
incorporate this into it without too much trouble?

--

Mike Wilson

I use the "checks" option.

checks = [
## named daemon check on every other host with tag "bind=server"
  ( ["bind=server"],ALL_HOSTS, "ps", "NAMED", ( "~.*/sbin/named",1,1,10,20)),
## clamd daemon check on hosts with tag "clam"
  ( ["clam"],ALL_HOSTS, "ps", "CLAM", ( "~.*clamd",1,1,1,1)),
]

···

On 7/22/2014 4:14 PM, Nick Schumacher wrote:

Hello all,

I've been a user of nagios for about 8 years, and just recently
transitioned to check_mk.

If there's nothing like that in check_mk, would I maybe be able to
incorporate this into it without too much trouble?

--

Mike Wilson