Software Information
| 0 | default Plugins on Debian | # /usr/lib/nagios/plugins | --> source | 
| define a new path for not default or modified Plugins | # mkdir /usr/lib/nagios/pluginsCustom | ||
| define the new Path to ... | # vi /etc/icinga2/constants.conf | const PluginCustomDir = "/usr/lib/nagios/pluginsCustom" | |
| restart | #  systemctl restart icinga2 # systemctl status icinga2  | 
||
| the Path i do use for new Plugins is | # cd /usr/lib/nagios/pluginsCustom | ||
| and i do create a Directory for echa plugin too | # mkdir new-plugin | 
| step | todo | Master | Master text | Client | Client text | 
- - - - -
- - - - -
Source/Quellen:
- () | Icinga Doc offiziel
- ICINGA Package Repository Windows
- (2018update) LinuxTechi |How to add remote Linux and Windows Host to Icinga 2 for Monitoring
-
-
- (2016) Brunner-IT |Icinga Agent – erster Windows Client überwachen
-
-
-
-
-
- > Add a comment >
Icinga2 | define (setup) the Master
| 1 | on a running Icinga | # icinga2 node wizard | Please specify if this is a satellite setup ('n' installs a master setup) [Y/n] : n | 
| 2 | Zone.conf definition | # vi /etc/icinga2/zones.conf | object Endpoint "icinga.server.de" { } object Zone "icinga.server.de" { endpoints = ["icinga.server.de" ] }  | 
| 3 | # /etc/init.d/icinga2 restart | ||
| # ps aux | grep icinga2 | |||
Source/Quellen:
- (2017) Icinga2: Remote Clients (just the first part / erster Abschnitt)
-
-
-
-
> Add a comment >
the user we crate for monitoring is icinga2monitoring
| 1 | Proxmox crate a user for monitoring Login to CLI  | 
# pveum useradd icinga2monitoring@pve -comment "Icinga2 Monitoring" | |
| # pveum passwd icinga2monitoring@pve | |||
| # pveum aclmod / -user icinga2monitoring@pve -role PVEAuditor | |||
| or just a API_User | # pvesh create /access/users -userid icinga2monitoring@pve | ||
Quellen/Source:
- Github | nbuchwitz/check_pve
- exchange.icinga.com Proxmox
- Proxmox Doc | VE API
-
- Docu Proxmox | user Management
-
-
-
-
- Forum Proxmox | frage zu user und Sinn...
modul-icinga-articlelist
- ✔ Icinga2 | (spez)Plugins | define path
 - ✔ Icinga2 | add NAS-Qnap (check_qnap3)
 - ✔ icinga2 | check_ssl_cert
 - 01 ✔ Install graphite for incibaweb2 on Debian 9
 - 02 Icinga2 Modul Director on Debian9
 - 90_(Solved) Icinga error: icinga2: Can't send external Icinga command to the local command file "/var/run/icinga2/cmd/icinga2.cmd": Permission denied.
 - 99_(solved) error after enter token
 - add a client to Icinga / or Remove the client save
 - critical/icinga-app: Another instance of Icinga already running with PID
 - first Install check_nwc_health
 - Icinga config
 - Icinga2 | add a Windows Client to Icinga2 Master
 - Icinga2 | add Cisco Switch 3560 Familie
 - Icinga2 | add FreeNAS
 - Icinga2 | add Fritzbox 7490
 - Icinga2 | add Icinga2 Client (CentOS 7) to a Master (r2.10.3-1)
 - Icinga2 | add Icinga2 Client to a Master (r2.9.0-1)
 - Icinga2 | add NAS-Drobo
 - Icinga2 | add OpnSense Check (check_opnsense)
 - Icinga2 | add Proxmox
 - Icinga2 | add Raspberry Pi (Debian9)
 - Icinga2 | add service to a hostgroup
 - Icinga2 | add Supermicro IPMI
 - Icinga2 | add USV/UPS
 - Icinga2 | check_logfiles
 - Icinga2 | ClamAV ¦ check_clamav
 - icinga2 | dashing test
 - Icinga2 | define (setup) the Master
 - Icinga2 | define Hostgroup & add Host to a Hostgroup
 - Icinga2 | dependencies
 - Icinga2 | Gude Expert Power Control 8220 Serie
 - Icinga2 | notification telegram & Email
 - Icinga2 | send email notification only once (on time)
 - Icinga2 | snmp
 - Icinga2 | SNMP Unifi Pro AP
 - Icinga2 | Upgrade Information
 - icinga2 |apt wrapper |-NOK 24.08.2018
 - icinga2 |check_log
 - icinga2 Problems
 - Muster
 - Path and Links to the documentation
 - plugin - Servie - Host
 - show Version & Check's & nice icinga2 commands
 - tmpl-24x7-host-mail
 
Icinga2 | add USV/UPS
Source/Quellen:
-
- Monitoring einer USV mit check_apcupsd am USB-Port
- Raspberry Pi / Rasbian und SNMP
-
-
-
-
-
-
- > Add a comment >
Icinga2 | add OpnSense
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
# icinga2 daemon -C = (version: r2.9.1-1)
| step | Icinga2 Master | Action on the OPNSense device | ||
| go to [user Manager] | ||||
| create a user icinga2 | ||||
| 1 | # apt install -y python-enum34 python-requests | |||
| 2 | # cd /usr/lib/nagios/pluginsCustom | |||
| # mkdir opnsense | ||||
| # cd opnsense | ||||
| wget https://raw.githubusercontent.com/nbuchwitz/check_opnsense/master/check_opnsense.py | ||||
| chmod +x check_opnsense.py | ||||
| # icinga2 daemon -C | ||||
| mkdir /etc/icinga2/conf.d/opnsense | ||||
| vi /etc/icinga2/conf.d/opnsense/opnsene-update.conf | object CheckCommand "check_opnsense-update" { command = [ PluginCustomDir + "/opnsense/check_opnsense.py" ] arguments = { "-H" = "$opnsense_host$" "--api-key" = "$opnsense_api_key$" "--api-secret" = "$opnsense_api_secret$" "-m" = "$opnsense_function$" "-w" = "$opnsense_TRESHOLD_WARNING$" "-c" = "$opnsense_TRESHOLD_CRITICAL$" "-k" = "$opnsense_insecure$" } vars.opnsense_host = "10.147.42.7" vars.opnsense_api_key = "key" vars.opnsense_api_secret = "key" vars.opnsense_function = "updates" vars.opnsense_insecure = "-k" }  | 
|||
| # cd /etc/icinga2/zones.d/master/ open the file your host is defined | ||||
| 
 vi xxxxxx.conf to check for update is Default 5 minutes not necessary   | 
9 object Service "check_opnsense" { 10 host_name = "opnsense.domain" check_interval = 1h 11 check_command = "check_opnsense-update" 12 }  | 
|||
| # icinga2 daemon -C | ||||
| # systemctl restart icinga2 | 
-
-
-
-
-
| uptime | snmpwalk -v2c -c public 10.147.42.7 iso.3.6.1.2.1.25.1.1.0 | Timeticks: (63656350) 7 days, 8:49:23.50 | 
| snmpwalk -v2c -c public 10.147.42.7 iso.3.6.1.2.1.1.1.0 | STRING: "FreeBSD FW-03.kozo.ch 11.1-RELEASE-p11 FreeBSD 11.1-RELEASE-p11 21b4c8ea1d5(stable/18.7) amd64" | |
| Hostname | snmpwalk -v2c -c public 10.147.42.7 iso.3.6.1.2.1.1.5.0 | STRING: "FW-03.kozo.ch" | 
| iso.3.6.1.4.1.2021.10.1.2.1 = STRING: "Load-1" iso.3.6.1.4.1.2021.10.1.2.2 = STRING: "Load-5" iso.3.6.1.4.1.2021.10.1.2.3 = STRING: "Load-15" iso.3.6.1.4.1.2021.10.1.3.1 = STRING: "0.40" iso.3.6.1.4.1.2021.10.1.3.2 = STRING: "0.52" iso.3.6.1.4.1.2021.10.1.3.3 = STRING: "0.49"  | 
||
| iso.3.6.1.2.1.31.1.1.1.1.2 = STRING: "igb1" iso.3.6.1.2.1.31.1.1.1.2.2 = Counter32: 8742 iso.3.6.1.2.1.25.3.2.1.3.262146 = STRING: "network interface igb1"  | 
||
| iso.3.6.1.2.1.31.1.1.1.1.1 = STRING: "igb0" iso.3.6.1.2.1.31.1.1.1.2.1 = Counter32: 0 iso.3.6.1.2.1.25.3.2.1.3.262145 = STRING: "network interface igb0"  | 
||
| iso.3.6.1.2.1.31.1.1.1.1.3 = STRING: "igb2" iso.3.6.1.2.1.31.1.1.1.2.3 = Counter32: 0 iso.3.6.1.2.1.25.3.2.1.3.262147 = STRING: "network interface igb2"  | 
||
| iso.3.6.1.2.1.31.1.1.1.1.8 = STRING: "ath0_wlan1" iso.3.6.1.2.1.31.1.1.1.2.8 = Counter32: 0 iso.3.6.1.2.1.25.3.2.1.3.262152 = STRING: "network interface ath0_wlan1"  | 
-
Source/Quellen:
-
- github.com/nbuchwitz/check_opnsense
- Formun Opnsense | API Information request
-
-
-
-
- > Add a comment >
Icinga2 | add Supermicro IPMI
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
| Supermicro backend | Add a user with some right  user icinga2 pwd icinga24  | 
||
| steps | on Icinga2 | ||
| # arp -n | grep 0c:c4:7a:ee:42:1c | awk '{print $1}' | this is the IP of the IPMI Port (the Eth.Port has DHCP) | ||
apt install -y libipc-run-perl | 
|||
| wget http://ftp.gnu.org/gnu/freeipmi/freeipmi-1.6.2.tar.gz tar xzvf freeipmi-1.6.2.tar.gz cd freeipmi-1.6.2 apt install -y build-essential libgcrypt11-dev ./configure make make install ldconfig  | 
|||
| 1 | # cd /usr/lib/nagios/pluginsCustom | ||
| #   wget  https://raw.githubusercontent.com/thomas-krenn/check_ipmi_sensor_v3/master/check_ipmi_sensor | 
|||
| #  chmod +x check_ipmi_sensor | 
|||
| b | ./check_ipmi_sensor | Can't locate IPC/Run.pm in @INC (you may need to install the IPC::Run module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./check_ipmi_sensor line 35. BEGIN failed--compilation aborted at ./check_ipmi_sensor line 35.  | 
|
| c |  curl -L http://cpanmin.us | perl - -- App::cpanminus cpanm --with-recommends --force IPC::Run  | 
||
| ./check_ipmi_sensor | |||
| # icinga2 daemon -C | |||
| # systemctl reload icinga2 | |||
| # systemctl restart icinga2 | |||
| # multitail /var/log/icinga2/icinga2.log | 
-
Source/Quellen:
-
- thomas-krenn | IPMI Sensor Monitoring Plugin
- thomas-krenn | FreeIPMI
- thomas-krenn | IPMI Konfiguration für Supermicro Systeme
-
-
-
-
-
-
-
modul-icinga-articlelist
- ✔ Icinga2 | (spez)Plugins | define path
 - ✔ Icinga2 | add NAS-Qnap (check_qnap3)
 - ✔ icinga2 | check_ssl_cert
 - 01 ✔ Install graphite for incibaweb2 on Debian 9
 - 02 Icinga2 Modul Director on Debian9
 - 90_(Solved) Icinga error: icinga2: Can't send external Icinga command to the local command file "/var/run/icinga2/cmd/icinga2.cmd": Permission denied.
 - 99_(solved) error after enter token
 - add a client to Icinga / or Remove the client save
 - critical/icinga-app: Another instance of Icinga already running with PID
 - first Install check_nwc_health
 - Icinga config
 - Icinga2 | add a Windows Client to Icinga2 Master
 - Icinga2 | add Cisco Switch 3560 Familie
 - Icinga2 | add FreeNAS
 - Icinga2 | add Fritzbox 7490
 - Icinga2 | add Icinga2 Client (CentOS 7) to a Master (r2.10.3-1)
 - Icinga2 | add Icinga2 Client to a Master (r2.9.0-1)
 - Icinga2 | add NAS-Drobo
 - Icinga2 | add OpnSense Check (check_opnsense)
 - Icinga2 | add Proxmox
 - Icinga2 | add Raspberry Pi (Debian9)
 - Icinga2 | add service to a hostgroup
 - Icinga2 | add Supermicro IPMI
 - Icinga2 | add USV/UPS
 - Icinga2 | check_logfiles
 - Icinga2 | ClamAV ¦ check_clamav
 - icinga2 | dashing test
 - Icinga2 | define (setup) the Master
 - Icinga2 | define Hostgroup & add Host to a Hostgroup
 - Icinga2 | dependencies
 - Icinga2 | Gude Expert Power Control 8220 Serie
 - Icinga2 | notification telegram & Email
 - Icinga2 | send email notification only once (on time)
 - Icinga2 | snmp
 - Icinga2 | SNMP Unifi Pro AP
 - Icinga2 | Upgrade Information
 - icinga2 |apt wrapper |-NOK 24.08.2018
 - icinga2 |check_log
 - icinga2 Problems
 - Muster
 - Path and Links to the documentation
 - plugin - Servie - Host
 - show Version & Check's & nice icinga2 commands
 - tmpl-24x7-host-mail
 
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
working on Icinga2 (version: r2.9.1-1)
| steps | on Icinga2 | ||
| 1 | # cd /usr/lib/nagios/pluginsCustom | ||
| 2 | # mkdir check_qnap3 | ||
| 3 | #  cd check_qnap3 # cd /usr/lib/nagios/pluginsCustom/check_qnap3  | 
||
| 4 | # wget https://raw.githubusercontent.com/nikband/check_qnap3.sh/master/check_qnap3.sh | ||
| 5 | # chmod +x check_qnap3.sh | ||
| 6 | # ./check_qnap3.sh 10.147.42.70 public systemuptime 0 0 | ||
| 7 | # cd /etc/icinga2/conf.d/nas-01 | ||
| 8 | #  vi check_qnap3-sysinfo.conf | 
||
| object CheckCommand "check_qnap3-sysinfo" { command = [ PluginCustomDir + "/check_qnap3/check_qnap3.sh" ] arguments = { "$ARG1$" = { value = "$qnap_host$" skip_key = true } "$ARG2$" = { value = "$qnap_community$" skip_key = true } "$ARG3$" = { value = "$qnap_check$" skip_key = true } "$ARG4$" = { value = "$qnap_warning$" skip_key = true } "$ARG5$" = { value = "$qnap_critical$" skip_key = true } } vars.qnap_host = "$host.address$" vars.qnap_community = "public" vars.qnap_check = "sysinfo" vars.qnap_warning = "0" vars.qnap_critical = "0" }  | 
|||
| 9 | # cd /etc/icinga2/zones.d/ | ||
| 10 | # mkdir nas-01 | ||
| 11 | #  cd nas # cd /etc/icinga2/zones.d/nas-01  | 
||
| 12 | # vi check_qnap3-sysinfo.conf | ||
| apply Service "check_qnap3-sysinfo" { import "generic-service" display_name = "QNAP - Sysinfo" check_command = "check_qnap3-sysinfo" assign where host.address && host.vars.os == "QNAP" }  | 
|||
| 13 | # icinga2 daemon -C | ||
| 14 | # systemctl reload icinga2 | ||
| 15 | # systemctl status icinga2 | ||
| 16 | # multitail /var/log/icinga2/icinga2.log | ||
| if it works | |||
| # cd /etc/icinga2/conf.d/nas-01 | |||
| # cp workingfile.conf newfile.conf "and edit the new file" | |||
| # cd /etc/icinga2/zones.d/nas-01 | |||
| # cp workingfile.conf newfile.conf "and edit the new file" | 
Error
 
./check_qnap3.sh 10.147.42.70 public sysinfo 0 0
./check_qnap3.sh 10.147.42.70 public systemuptime 0 0
./check_qnap3.sh 10.147.42.70 public volstatus 0 0
./check_qnap3.sh 10.147.42.70 public temp 0 0
./check_qnap3.sh 10.147.42.70 public cpu 0 0
./check_qnap3.sh 10.147.42.70 public freeram 0 0
./check_qnap3.sh 10.147.42.70 public diskused 0 0
./check_qnap3.sh 10.147.42.70 public hdstatus 0 0
./check_qnap3.sh 10.147.42.70 public fans 0 0
Source/Quellen:
- Githup check_qnap3
-
-
-
-
-
-
-
-
-
-
modul-icinga-articlelist
- ✔ Icinga2 | (spez)Plugins | define path
 - ✔ Icinga2 | add NAS-Qnap (check_qnap3)
 - ✔ icinga2 | check_ssl_cert
 - 01 ✔ Install graphite for incibaweb2 on Debian 9
 - 02 Icinga2 Modul Director on Debian9
 - 90_(Solved) Icinga error: icinga2: Can't send external Icinga command to the local command file "/var/run/icinga2/cmd/icinga2.cmd": Permission denied.
 - 99_(solved) error after enter token
 - add a client to Icinga / or Remove the client save
 - critical/icinga-app: Another instance of Icinga already running with PID
 - first Install check_nwc_health
 - Icinga config
 - Icinga2 | add a Windows Client to Icinga2 Master
 - Icinga2 | add Cisco Switch 3560 Familie
 - Icinga2 | add FreeNAS
 - Icinga2 | add Fritzbox 7490
 - Icinga2 | add Icinga2 Client (CentOS 7) to a Master (r2.10.3-1)
 - Icinga2 | add Icinga2 Client to a Master (r2.9.0-1)
 - Icinga2 | add NAS-Drobo
 - Icinga2 | add OpnSense Check (check_opnsense)
 - Icinga2 | add Proxmox
 - Icinga2 | add Raspberry Pi (Debian9)
 - Icinga2 | add service to a hostgroup
 - Icinga2 | add Supermicro IPMI
 - Icinga2 | add USV/UPS
 - Icinga2 | check_logfiles
 - Icinga2 | ClamAV ¦ check_clamav
 - icinga2 | dashing test
 - Icinga2 | define (setup) the Master
 - Icinga2 | define Hostgroup & add Host to a Hostgroup
 - Icinga2 | dependencies
 - Icinga2 | Gude Expert Power Control 8220 Serie
 - Icinga2 | notification telegram & Email
 - Icinga2 | send email notification only once (on time)
 - Icinga2 | snmp
 - Icinga2 | SNMP Unifi Pro AP
 - Icinga2 | Upgrade Information
 - icinga2 |apt wrapper |-NOK 24.08.2018
 - icinga2 |check_log
 - icinga2 Problems
 - Muster
 - Path and Links to the documentation
 - plugin - Servie - Host
 - show Version & Check's & nice icinga2 commands
 - tmpl-24x7-host-mail
 
Quelle/Source:
-
- exchange.icinga.com/6uellerBpanda/check_freenas
-
-
-
-
-
modul-icinga-articlelist
- ✔ Icinga2 | (spez)Plugins | define path
 - ✔ Icinga2 | add NAS-Qnap (check_qnap3)
 - ✔ icinga2 | check_ssl_cert
 - 01 ✔ Install graphite for incibaweb2 on Debian 9
 - 02 Icinga2 Modul Director on Debian9
 - 90_(Solved) Icinga error: icinga2: Can't send external Icinga command to the local command file "/var/run/icinga2/cmd/icinga2.cmd": Permission denied.
 - 99_(solved) error after enter token
 - add a client to Icinga / or Remove the client save
 - critical/icinga-app: Another instance of Icinga already running with PID
 - first Install check_nwc_health
 - Icinga config
 - Icinga2 | add a Windows Client to Icinga2 Master
 - Icinga2 | add Cisco Switch 3560 Familie
 - Icinga2 | add FreeNAS
 - Icinga2 | add Fritzbox 7490
 - Icinga2 | add Icinga2 Client (CentOS 7) to a Master (r2.10.3-1)
 - Icinga2 | add Icinga2 Client to a Master (r2.9.0-1)
 - Icinga2 | add NAS-Drobo
 - Icinga2 | add OpnSense Check (check_opnsense)
 - Icinga2 | add Proxmox
 - Icinga2 | add Raspberry Pi (Debian9)
 - Icinga2 | add service to a hostgroup
 - Icinga2 | add Supermicro IPMI
 - Icinga2 | add USV/UPS
 - Icinga2 | check_logfiles
 - Icinga2 | ClamAV ¦ check_clamav
 - icinga2 | dashing test
 - Icinga2 | define (setup) the Master
 - Icinga2 | define Hostgroup & add Host to a Hostgroup
 - Icinga2 | dependencies
 - Icinga2 | Gude Expert Power Control 8220 Serie
 - Icinga2 | notification telegram & Email
 - Icinga2 | send email notification only once (on time)
 - Icinga2 | snmp
 - Icinga2 | SNMP Unifi Pro AP
 - Icinga2 | Upgrade Information
 - icinga2 |apt wrapper |-NOK 24.08.2018
 - icinga2 |check_log
 - icinga2 Problems
 - Muster
 - Path and Links to the documentation
 - plugin - Servie - Host
 - show Version & Check's & nice icinga2 commands
 - tmpl-24x7-host-mail
 
Icinga2 | add Fritzbox 7490 (FRITZ!OS: 06.84)
the Steps i went...
| 0 on the Fritzbox | Heimnetz -> Netzwerk, switch to the tab Netzwerkeinstellungen. | 
Zugriff für Anwendungen zulassen | and reboot the Fritbox | 
| 0 on the Fritzbox | add a new Fritzbox user | System -> Fritz!Box-Benutzer |  Name Password No email needed FRITZ!Box Einstellungen_ Sprachnachrichten Smart Home  | 
| 0 Icinga | path of the plugins | Icinga2 | Plugins | define path | - | 
| 2 | Need curl and bc | #  apt install -y curl # apt install -y bc  | 
|
| go to the path where 3part Plugins are | # cd /usr/lib/nagios/pluginsCustom | ||
| download the Plugin | # git clone https://github.com/mcktr/check_tr64_fritz check_tr64_fritz | ||
| chmod -R +x check_tr64_fritz | |||
| # cd check_tr64_fritz | |||
| check the open port | #  ./getSecurityPort 10.147.42.1 Your Fritz!Box Security Port (for TR-064 over SSL) is: 49443  | 
||
| # icinga2 daemon -C | |||
| 
 #  vi /etc/icinga2/conf.d/check_tlsr64_fritz/check_tlsr64_fritz-status.conf cp to copy  | 
object CheckCommand "check_tr64_fritz-status" { command = [ PluginCustomDir + "/check_tr64_fritz/check_tr64_fritz" ] arguments = { "-h" = "$fritz_host$" "-p" = "$fritz_port$" "-u" = "$fritz_username$" "-P" = "$fritz_password$" "-f" = "$fritz_function$" "-w" = "$fritz_warning$" "-c" = "$fritz_critical$" } vars.fritz_host = "$address$" vars.fritz_port = "49443" vars.fritz_username = "dslf-config" vars.fritz_password ="password" vars.fritz_function = "status" }  | 
||
| #  vi /etc/icinga2/zones.d/master/router.conf | 
1 object Host "router.domain" { 2 check_command = "hostalive" //check is executed on the master 3 display_name = "Fritzbox 7490" 4 address = "10.147.42.1" 5 6 vars.client_endpoint = name //follows the convention that host name == endpoint name 7 } 8 9 object Service "check_tr64_fritz" { 10 host_name = "router.domain" // check_interval = 15 11 check_command = "check_tr64_fritz-status" 12 } 13  | 
||
| # icinga2 daemon -C | |||
| # systemctl restart icinga2 | |||
| Information: | //   check_interval = 15 if you remove // then the check will be all 15 seconds, think about if it makes sense (default is 5 Minutes) in my case for the downstreamrate upstreamrate it did make sense  | 
||
| ERROR on GUI | 
Plugin Outputexecvpe(/usr/lib/nagios/pluginsCustom/check_tr64_fritz) failed: Permission denied | 
Quellen/Source:
- (2016) Fritz!Box 7490 check | nagios
- (2018) mcktr - Github | check_tr64_fritz
-
-
-
-
-
-
-
- > Add a comment >
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
-
-
-
-
-
-
-
- > Add a comment >
Show Version of tools
| Icinga2 Version | # icinga2 --version | # icinga2 --version icinga2 - The Icinga 2 network monitoring daemon (version: r2.6.0-1) Copyright (c) 2012-2016 Icinga Development Team (https://www.icinga.org/) License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Application information: Installation root: /usr Sysconf directory: /etc Run directory: /run Local state directory: /var Package data directory: /usr/share/icinga2 State path: /var/lib/icinga2/icinga2.state Modified attributes path: /var/lib/icinga2/modified-attributes.conf Objects path: /var/cache/icinga2/icinga2.debug Vars path: /var/cache/icinga2/icinga2.vars PID path: /run/icinga2/icinga2.pid System information: Platform: Debian GNU/Linux Platform version: 9 (stretch) Kernel: Linux Kernel version: 4.9.0-6-amd64 Architecture: x86_64 Build information: Compiler: GNU 6.2.1 Build host: amalia  | 
| # dpkg -l icinga*|grep ii | ||
| # dpkg -l | grep icinga | ||
| # icinga2 feature disable debuglog | to be sure to have switched off debuglog | |
| # apt-cache policy icinga2 | ||
| php | # php -v | PHP 7.0.30-0+deb9u1 (cli) (built: Jun 14 2018 13:50:25) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.30-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies  | 
| MariaDB | # mariadb --version | mariadb Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 | 
| Apache2 | # apache2 -v | Server version: Apache/2.4.25 (Debian) Server built: 2018-03-31T08:47:16  | 
| carbon Whisper graphite-web  | 
# pip list | |
| show Java Zulu | # dpkg --list | grep zulu | |
| show java Version | # java --version | 
icinga2 Problems
---
| icinga2 feature enable debuglog | icinga2 feature disable debuglog | |
| multitail /var/log/icinga2/debug.log | ||
| service icinga2 restart | ||
| https://10.147.42.36:5665/v1/objects/services?service=NAS-01.kozo.ch!check_qnap3-sysinfo | ||
| to makr it more readable | jsonformatter.curiousconcept.com | |
| use ``` at the start and end to show it on the forum | ||
Quelle/Source:
-
-
-
-
- > Add a comment >
http://10.147.42.36/icingaweb2/setup
#0 /usr/share/icingaweb2/library/vendor/Zend/Form.php(2280): Icinga\Web\Form\Element\CsrfCounterMeasure->isValid('341152815|56d5c...', Array) 
#1 /usr/share/php/Icinga/Web/Form.php(1276): Zend_Form->isValid(Array) 
#2 /usr/share/php/Icinga/Web/Wizard.php(279): Icinga\Web\Form->isValid(Array) 
#3 /usr/share/icingaweb2/modules/setup/application/controllers/IndexController.php(44): Icinga\Web\Wizard->handleRequest() 
#4 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Module\Setup\Controllers\IndexController->indexAction() 
#5 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch('indexAction') 
#6 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) 
#7 /usr/share/php/Icinga/Application/Web.php(389): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) 
#8 /usr/share/php/Icinga/Application/webrouter.php(109): Icinga\Application\Web->dispatch() 
#9 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...') 
#10 {main}
SOLVED: i just had to restart the Browser ;-)
Quellen/Source
- Icingaweb2 Fatal Error directly after installation on Ubuntu 18.04 #3459
-
-
-
- > Add a comment >
Subcategories
Windows Article Count: 5
Perfect Article Count: 236
Android Article Count: 220
virtualisierung Article Count: 10
Firewall Article Count: 12
- Anker 575 USB-C Docking Station (13-in-1), 85W für Laptops
 - Perfect Server Hardware for Virtualization | Proxmox | pve-05
 - Pioneer Blu-Ray/BD/DVD/CD Reader/writer USB 3.0 BDR-XD07TB | WORKS OK with Debian 11
 - NOT WORKING WITH DEBIAN 11 | Dockingstation | IcyBox 14-in-1 USB Type-C | IB-DK2262AC
 - How to remove systemd services
 - Laptop | Lenovo | Thinkpad E15 Gen3 AMD
 - Laptop | Lenovo | LENOVO-IDEA IdeaPad 3 15IGL05 Notebook (15.6 ", 128 GB SSD, Business Black)
 - D. Klimo | Kent monoblocks
 - TTN Mapper
 - LILYGO TTGO T-Beam V1.1 ESP32 LoRa 868Mhz GPS 18650 Board
 - LILYGO® TTGO T-Beam 868MHz -> The Things Network (TTN/TTS) -> Karte | Infos und Video bei Alex (www.aeq-web.com)
 - Kabelfarben 3.3V, 5V, 12V, 230V | Durchmesser
 - 01 Digi-Bee Stand01 Wetter
 - Solar Panel | 6V 3W Solar Panel JY D145x145
 - TTGO LoRa32 V2.1_1.6 version 433/868/915Mhz ESP32 LoRa OLED 0.96 Inch SD Card Bluetooth WIFI wireless Module ESP-32 SMA
 - -pve-04 | Disk SSD and HDD
 - DISK SSD | 1 TB | Samsung SSD 870 EVO 1TB - 1TB
 - NanoVNA V2
 - CubeSat | antennas |
 - KoZo_GS3_433MHz
 - tinyGS - shortcut what it means
 - TinyGS Telegram community | published Links
 - Wolfgang W. Osterhage (Springer Verlag Sachbuch 2021): Die Geschichte der Raumfahrt | (gefundene Fehler)
 - ucs Univention some commands
 - SMA-Stecker / SMA-Buchse
 
 
                    
                                        Die EU-Kommission will unverzüglich die Finanzierung von Spyware-Produzenten einstellen, die sich "schweren beruflichen Fehlverhaltens" schuldig gemacht haben.                    
                    
                    
                                        Microsoft hält eine Lücke in der LNK-Anzeige für nicht behebenswert. Sie wurde inzwischen gegen europäische Diplomaten missbraucht.                    
                    
                    
                                        Angreifer können IBM Tivoli Monitoring und Nagios XI attackieren und Dateien manipulieren oder sogar Schadcode ausführen. Sicherheitsupdates sind verfügbar.                    
                    
                    
                                        Angreifer missbauchen Schwachstellen in VMware und XWiki, warnt die IT-Sicherheitsbehörde CISA. Updates stopfen die Lücken.                    
                    
						
						
						
						
						
						
						