nagios
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
nagios [2015/04/08 10:44] – michael-neesen | nagios [2024/06/09 10:29] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 14: | Zeile 14: | ||
In the next step, Nagios Core can be configured. | In the next step, Nagios Core can be configured. | ||
+ | ===== Host Configuration ===== | ||
+ | < | ||
+ | define host{ | ||
+ | use generic-switch | ||
+ | host_name OS6860E-P24 ; | ||
+ | alias Core-Switch ; | ||
+ | address 192.168.20.254 ; | ||
+ | hostgroups Infrastructure ; | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | In the first step the host has to be defined. A host can be every switch or chassis, which is reachable via an IP-Address. The host has a defined host_name and optionally an alias. | ||
A configuration file for each switch will be implemented. The defined services are | A configuration file for each switch will be implemented. The defined services are | ||
Zeile 20: | Zeile 32: | ||
* Port Status | * Port Status | ||
+ | {{: | ||
+ | Example of Nagios Core network monitoring with OmniSwitch- and OmniAccess-devices. | ||
===== Ping ===== | ===== Ping ===== | ||
Zeile 67: | Zeile 81: | ||
</ | </ | ||
The general service settings are the same used for the uptime monitoring. However, the OID tree is used to monitor the port status. The last four digits define the port, which is 1023 - Port 23 in the first switch of a chassis. The alternative is to use the object name. That would be ifOperStatus.1023. How to convert the object name to OID and reverse is explained in this [[umwandlung_von_mib_zu_oid_bzw._oid_zu_mib_ueber_die_aos_cli|article]] | The general service settings are the same used for the uptime monitoring. However, the OID tree is used to monitor the port status. The last four digits define the port, which is 1023 - Port 23 in the first switch of a chassis. The alternative is to use the object name. That would be ifOperStatus.1023. How to convert the object name to OID and reverse is explained in this [[umwandlung_von_mib_zu_oid_bzw._oid_zu_mib_ueber_die_aos_cli|article]] | ||
- | In addition, notifications are enabled for this check. The contact nagiosadmin is notified 24 hours a day, 7 days a week when the status change to warning or critical and even though the status change to resolved. MIB translations can be found on the dokuwiki and also in the support web. | + | In addition, notifications are enabled for this check. The contact nagiosadmin is notified 24 hours a day, 7 days a week when the status change to warning or critical and even though the status change to resolved. MIB translations can be found on the dokuwiki and also in the support web. \\ |
+ | Furthermore, | ||
+ | Other variables are predefined. The host address can be defined in the host definition. When the host address is needed in services for this host, $HOSTADDRESS$ inserts the IP-Address. |
nagios.1428489856.txt.gz · Zuletzt geändert: (Externe Bearbeitung)