Plugin alerts

Nick Weaver nweaver at keylabs.com
Wed Nov 29 23:07:35 CET 2006


# 'check_nmap' command definition
define command{
        command_name    check_nmap
        command_line    /nagios/libexec/chkNmapScan.pl --nmap
/usr/bin/nmap --ip $HOSTADDRESS$ --ports $ARG1$
       }
define service{
use                             generic-service         ; Name of
service template to use

host_name        AL-NW-Solar-4,
        service_description             NMAP
        is_volatile   0
        check_period                    24x7
        max_check_attempts              4
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  admins
        notification_options            w,u,c,r
        notification_interval           960
        notification_period             24x7
        check_command                   check_nmap!3389,5800,5900,9000
}


-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc
Powell
Sent: Tuesday, November 28, 2006 1:43 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Plugin alerts



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Nick Weaver
> Sent: Tuesday, November 28, 2006 1:49 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Plugin alerts
> 
> 
> 
> I am using the chkNmapScan.pl plugin. The plugin is working fine, but
it
> never emails me alerts. My check_TCP plugin also does not alert me.
The
> normal ping/check_host_alive one is fine.

Does your service{} definition have the notification_options you want?

--
Marc

------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list