** Monitoring The Cloister
-The abbey adds monitoring for more servers: Kamino, Kessel and
-Devaron. They are ~abbey-cloister~ servers, so they are configured as
+The abbey adds monitoring for more servers: Kamino, Kessel, and Ord
+Mantell. They are ~abbey-cloister~ servers, so they are configured as
small institute ~campus~ servers, like Gate, with an NRPE (a NAGIOS
Remote Plugin Executor) server and an ~inst_sensors~ command.
The configurations for the servers are very similar to Gate's, but are
idiosyncratically in flux. In particular, Kamino does not irritate
~check_total_procs~, yet Kessel does. Both are Pop!_OS 22.04, but
-Kessel is a wireless host while Kamino is wired. Devaron, the
+Kessel is a wireless host while Kamino is wired. Ord Mantell, the
Raspberry Pi OS (ARM64) machine, uses the ~abbey_pisensors~ monitor.
*** Cloister Network Addresses
#+CAPTION: [[file:private_ex/vars-abbey.yml][=private_ex/vars-abbey.yml=]]
#+BEGIN_SRC conf :tangle private_ex/vars-abbey.yml :mkdirp yes
---
-devaron_addr: 10.84.138.10
kamino_addr: 192.168.56.14
kessel_addr: 10.84.138.8
+ord_mantell_addr: 10.84.138.10
#+END_SRC
*** Installing NAGIOS Configurations
template:
src: nagios-{{ item }}.cfg
dest: /etc/nagios4/conf.d/{{ item }}.cfg
- loop: [ devaron, kessel ]
+ loop: [ ord-mantell, kessel ]
notify: Reload NAGIOS4.
#+END_SRC
-*** NAGIOS Monitoring of Devaron
+*** NAGIOS Monitoring of Ord-Mantell
-#+CAPTION: [[file:roles_t/abbey-core/templates/nagios-devaron.cfg][=roles_t/abbey-core/templates/nagios-devaron.cfg=]]
-#+BEGIN_SRC conf :tangle roles_t/abbey-core/templates/nagios-devaron.cfg :mkdirp yes
+#+CAPTION: [[file:roles_t/abbey-core/templates/nagios-ord-mantell.cfg][=roles_t/abbey-core/templates/nagios-ord-mantell.cfg=]]
+#+BEGIN_SRC conf :tangle roles_t/abbey-core/templates/nagios-ord-mantell.cfg :mkdirp yes
define host {
use linux-server
- host_name devaron
- address {{ devaron_addr }}
+ host_name ord-mantell
+ address {{ ord_mantell_addr }}
}
define service {
use generic-service
- host_name devaron
+ host_name ord-mantell
service_description Root Partition
check_command check_nrpe!inst_root
}
# define service {
# use generic-service
-# host_name devaron
+# host_name ord-mantell
# service_description Current Load
# check_command check_nrpe!check_load
# }
define service {
use generic-service
- host_name devaron
+ host_name ord-mantell
service_description Zombie Processes
check_command check_nrpe!check_zombie_procs
}
# define service {
# use generic-service
-# host_name devaron
+# host_name ord-mantell
# service_description Total Processes
# check_command check_nrpe!check_total_procs
# }
define service {
use generic-service
- host_name devaron
+ host_name ord-mantell
service_description Swap Usage
check_command check_nrpe!inst_swap
}
define service {
use generic-service
- host_name devaron
+ host_name ord-mantell
service_description Temperature Sensors
check_command check_nrpe!abbey_pisensors
}
[kessel.birchwood.private]
address {{ kessel_addr }}
- [devaron.birchwood.private]
- address {{ devaron_addr }}
+ [ord-mantell.birchwood.private]
+ address {{ ord_mantell_addr }}
dest: /etc/munin/munin-conf.d/zzz-site.cfg
notify: Restart Munin.
#+END_SRC
ansible_become_password: "{{ become_anoat }}"
dantooine:
ansible_become_password: "{{ become_dantooine }}"
- # WebTVs (Desktops)
- devaron:
+ # Campus
kamino:
ansible_become_password: "{{ become_kamino }}"
kessel:
ansible_become_password: "{{ become_kessel }}"
+ ord-mantell:
+ ansible_become_password: "{{ become_ord_mantell }}"
# Notebooks
endor:
ansible_become_password: "{{ become_endor }}"
campus:
hosts:
anoat:
- devaron:
kamino:
kessel:
+ ord-mantell:
weather:
hosts:
anoat:
dantooine:
webtvs:
hosts:
- kessel:
- devaron:
kamino:
+ kessel:
+ ord-mantell:
notebooks:
hosts:
endor:
geonosis:
builders:
hosts:
- devaron:
geonosis:
kamino:
#+END_SRC
define host {
use linux-server
- host_name devaron
- address {{ devaron_addr }}
+ host_name ord-mantell
+ address {{ ord_mantell_addr }}
}
define service {
use generic-service
- host_name devaron
+ host_name ord-mantell
service_description Root Partition
check_command check_nrpe!inst_root
}
# define service {
# use generic-service
-# host_name devaron
+# host_name ord-mantell
# service_description Current Load
# check_command check_nrpe!check_load
# }
define service {
use generic-service
- host_name devaron
+ host_name ord-mantell
service_description Zombie Processes
check_command check_nrpe!check_zombie_procs
}
# define service {
# use generic-service
-# host_name devaron
+# host_name ord-mantell
# service_description Total Processes
# check_command check_nrpe!check_total_procs
# }
define service {
use generic-service
- host_name devaron
+ host_name ord-mantell
service_description Swap Usage
check_command check_nrpe!inst_swap
}
define service {
use generic-service
- host_name devaron
+ host_name ord-mantell
service_description Temperature Sensors
check_command check_nrpe!abbey_pisensors
}