Amanda-Users

Nagios Check for running services

2009-04-16 04:15:33
Subject: Nagios Check for running services
From: Marc Muehlfeld <Marc.Muehlfeld AT medizinische-genetik DOT de>
To: amanda users list <amanda-users AT amanda DOT org>
Date: Thu, 16 Apr 2009 10:08:57 +0200
Hi,

I'm playing around with Nagios and try to let it check if the services are reachable on my server. For the two TCP ports it's no problem, but for the UDP check it is required to "talk" with the service, to have a response.

The Nagios plugin check_udp needs a send (a string that I send to the service) and a response (a string that I get back to make sure, it is answering) string.

# /usr/local/nagios/libexec/check_udp -H {MyBackupServer} -p 10080
With UDP checks, a send/expect string must be specified.
Usage:check_udp -H host -p port [-w <warning time>] [-c <critical time>] [-s <send string>] [-e <expect string>] [-q <quit string>][-m <maximum bytes>] [-d <delay>] [-t <timeout seconds>] [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6] [-j] [-D <days to cert expiry>] [-S <use SSL>] [-E]

What string can I send to 10080/udp and what should I expect to get back?

Regards
Marc


--
Marc Muehlfeld (Leitung IT)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-780
http://www.medizinische-genetik.de

<Prev in Thread] Current Thread [Next in Thread>
  • Nagios Check for running services, Marc Muehlfeld <=