AW: How to check the process

Thomas.Zimmer at oppenheim.de Thomas.Zimmer at oppenheim.de
Mon Aug 30 17:26:38 CEST 2004


ups, obvisually you did not define the checkcommand for "check_procs"

in "commands.cfg":

define command {
		command_name                   check_procs_string
		command_line                   $USER1$/check_procs -w $ARG1$
-c $ARG2$ -a $ARG3$ -u $ARG4$
	}

then the service-def is:

define service{
        host_name                       nagios
        service_description             SNMPTRAP
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  server-admins
        notification_interval           120
        notification_period             24x7
        notification_options            c,w
        check_command                   check_procs!1:1!1:1!snmptrapd!root
        }

excuse my too-fast reply.

----------------------------------------------------------------------------
-----------------
Thomas Zimmer
Sal. Oppenheim jr. & Cie.
Praktikant / IT
Tel.: 069 7134 5319
----------------------------------------------------------------------------
------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040830/70fe91c6/attachment.html>


More information about the Users mailing list