Check_bgp plugin

Jim Mozley jim.mozley at exponential-e.com
Tue Apr 22 18:50:18 CEST 2003


*This message was transferred with a trial version of CommuniGate(tm) Pro*
Yep I've just set this up, although I haven't been able to get a failure
simulated yet as I cannot get a live connection broken. To implement one
copies it from the contrib directory of the plugins to libexec sub-directory
and sets it up as per the other service checks. If you need the parts of the
nagios config files not shown below let me know.

In checkcommands.cfg I have:

# 'check_bgpstate' command definition
define command{
        command_name    check_bgpstate
        command_line    $USER1$/check_bgpstate.pl -c <my read community> -p
161 $HOSTADDRESS$
        }

In services.cfg I have:

define service{
        use                             generic-service         ; Name of
service template to use
        host_name                       a-host-name
        service_description             BGP
        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,r
        check_command                   check_bgpstate
        event_handler                   notify_service
        }



Regards,

Jim

----- Original Message -----
From: "Jeyri Bautista" <jbautista at icnet.com.ve>
To: <nagios-users at lists.sourceforge.net>
Sent: Tuesday, April 22, 2003 4:05 PM
Subject: [Nagios-users] Check_bgp plugin


> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Hello,
>
> Anybody know how to use the check_bgp plugin?
>
> Thanks,
>
> Jeyri Bautista
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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