Antwort: How to monitor a router

h.baecker at ecofis.de h.baecker at ecofis.de
Wed Feb 4 10:09:21 CET 2004


Hello Mauro,

I have my config like this:

#'cisco' host definitions
define host{
        host_name       cisco
        alias   Router
        address 192.168.0.1
        check_command   check-host-alive
        max_check_attempts      5
        notification_interval   3600
        notification_period     24x7
        notifications_enabled   1
        notification_options    r,d,u
        flap_detection_enabled  1
        process_perf_data       1
        retain_status_information       1
        retain_nonstatus_information    1
        }

#'cisco' host definitions
define service{
        host_name       cisco
        service_description     ATM0
        is_volatile     0
        check_period    24x7
        check_command   check_ping!192.168.0.1
        max_check_attempts      4
        notification_interval   3600
        notification_period     24x7
        obsess_over_service     1
        notifications_enabled   1
        notification_options    r,c
        normal_check_interval   60
        retry_check_interval    1
        contact_groups  router
        }
#'cisco' host definitions
define service{
        host_name       cisco
        service_description     LAN
        is_volatile     0
        check_period    24x7
        check_command   check_ping!192.168.5.7
        max_check_attempts      4
        notification_interval   3600
        notification_period     24x7
        obsess_over_service     1
        notifications_enabled   1
        notification_options    r,c
        normal_check_interval   60
        retry_check_interval    1
        contact_groups  router
        }

As far as I know there has to be configured services for an host for 
checking a complete host.





"Mauro" <mauog at interfree.it> 
Gesendet von: nagios-users-admin at lists.sourceforge.net
04.02.2004 09:03
Bitte antworten an
"Mauro" <mauog at interfree.it>


An
<nagios-users at lists.sourceforge.net>
Kopie

Thema
[Nagios-users] How to monitor a router






Hallo all, I'd like to know how to insert correctly a router in my nagios
configuration.
Actually I inserted router like an host that has in  "address" statement 
its
two IP (corresponding to its two interfaces) separated by comma.
But when I have a problem on router I can't see any network outages even 
it
is configured as parent of some hosts and I get status critical messages
from all "sons" hosts.
Do You know which is best way to manage a router?


Thank You

Mauro



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040204/982d4fb5/attachment.html>


More information about the Users mailing list