Icinga2 | add Cisco Switch 3560 Familie
Switch Configuration | Cisco SNMPv3 Setup 1. conf t 2. snmp-server group Snmpv3groupname v3 auth 3. snmp-server user Snmpv3user Snmpv3groupname v3 auth sha Snmpv3passwort |
||
needed Software | apt install -y libnet-snmp-perl libcrypt-hcesha-perl libcrypt-des-perl libdigest-hmac-perl libcrypt-rijndael-perl | ||
70 object HostGroup "3560cg8p" { 71 display_name = "Cisco 3560CG 8 Port" 72 73 assign where host.vars.HW.cisco == "3560cg8p" 74 } 75 76 object HostGroup "3560-8p" { 77 display_name = "Cisco 3560 8 Port" 78 assign where host.vars.HW.cisco == "3560-8p" 79 } |
|||
Icinga Plugin | |||
cd /etc/icinga2/zones.d/master/03_SWT/ | |||
vi check_cisco-c.conf vi check_cisco-s_alg.conf vi check_cisco-t.conf |
|||
# time icinga2 daemon -C | |||
# time systemctl reload icinga2 | |||
# time systemctl restart icinga2 | |||
Quellen(Source:
- consol labs | check_nwc_health
- Cisco Switch mit Icinga 2 und check_nwc_health mittels SNMPv3 abfragen
-
-
-
-
-
-
-
-