Il 01/03/2013 09.51, Elio Exposito ha scritto:

How can I monitor http,smtp,imap,pop3 protocols on remote servers ?
I can not install the agent or snmp on those servers that belong to
customers but we need to verify the services.

Hi,
for http and smtp check there is a specific plugin:
check_http
check_smtp
in /opt/omd/versions/default/lib/nagios/plugins/


For other services you can simply use the check_tcp plugin.
In order to check all service that don't has a specific plugin you can use the check_tcp plugin with the appropriate configuration in services.cfg file

That is the help of check_tcp plugin:
check_tcp -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 <warn days cert expire>[,<crit days cert expire>]] [-S <use SSL>] [-E]

You can use thats plugin in service.cfg like this:
define service {
  service_description            Check WEB Server
  host_name                      webserver
  hostgroup_name                 www
  use                            service
  check_command                  check_http
  contact_groups                 sys
}

Regards
Rizio
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to