add websocketd process monitoring
authorChris Sharp <csharp@georgialibraries.org>
Mon, 11 Oct 2021 15:08:13 +0000 (11:08 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 11 Oct 2021 15:08:13 +0000 (11:08 -0400)
templates/monitor/nrpe_local.cfg
templates/monitor/services.cfg

index 234da2c..9ae43ee 100755 (executable)
@@ -39,6 +39,9 @@ command[check_cpu_io]=/usr/lib/nagios/plugins/check_cpu.sh -iw 30 -ic 50
 # Check NFS Mounts
 command[check_nfs]=/usr/lib/nagios/plugins/check_nfs.sh
 
+# Check websocketd
+command[check_websocketd]=/usr/lib/nagios/plugins/check_procs -c 1:1 -C websocketd
+
 # Check apache2 processes
 command[check_apache_procs]=/usr/lib/nagios/plugins/check_procs -w 1:120 -c 1:135 -C apach
 
index 4baf085..4afc33d 100755 (executable)
@@ -57,6 +57,14 @@ define service {
 }
 
 define service {
+        hostgroup_name                  evergreen-heads
+        service_description             Websocketd
+        use                             generic-service
+        notification_interval           240
+        check_command                   check_nrpe!check_websocketd
+}
+
+define service {
         hostgroup_name                  reporter-servers
         service_description             Clark Processes
         use                             generic-service