Dies ist eine alte Version des Dokuments!
NagiosCore Network Monitoring für Alcatel-Lucent Enterprise OmniSwitche
Nagios Core can be used to monitor network devices and servers. Through SNMP and Nagios extensions, detailed information about network status and device status can be obtained. In this article, the implementation of monitoring using Nagios Core will be described based on Alcatel-Lucent Enterprise equipment.
In this case, Nagios Core is installed on an CentOS 7 server with Nagios Core 4.0.7. The IP address 192.168.10.240 is used.
It is recommended to use SNMP to check the device status. SNMPv3 will provide the best security to avoid that information about the network are going to unauthorized users. A user account nagiosadmin is added on the switch to enable that SNMP information can be received by the nagios. On the switch, snmp security pricay-set is choosen. SNMPv3 is necessary to get information. The user is authenticated with the MD5 algorithm. No encryption is used for transmission of SNMP information.
user nagiosadmin password ******** read-only all md5 snmp security privacy-set
In the next step, Nagios Core can be configured.
A configuration file for each switch will be implemented. The defined services are
- Ping
- Uptime
- Port Status
Ping
For Nagios Core ping can be done with the check_ping command.
define service{ use generic-service host_name OS6850E-24 service_description PING check_command check_ping!200.0,20%!600.0,60% normal_check_interval 0.5 }
The example shows a check_ping service where a OS6850E-24 is monitored. The warning level is if 20% packet loss or an average ping time over 200 ms occurs. Critical state will be shown if the average ping time is over 600 ms or the packet loss exceeds 60%. The ping interval is 0.5 seconds.