root@ip-10-30-2-40:/# su - gdma gdma@ip-10-30-2-40:~$ cd /usr/local/groundwork/gdma/bin gdma@ip-10-30-2-40:/usr/local/groundwork/gdma/bin$ /usr/local/groundwork/perl/bin/perl gdma_poll.pl -i -d2 -x [Fri Mar 9 13:25:24 2018] Getting http://10.30.2.10/gdma/gwmon_ip-10-30-2-40.us-west-2.compute.internal.cfg to /usr/local/groundwork/gdma/config/gwmon_ip-10-30-2-40.us-west-2.compute.internal.cfg (timeout 10). [Fri Mar 9 13:25:24 2018] Attempting to get http://10.30.2.10/gdma/gwmon_ip-10-30-2-40.us-west-2.compute.internal.cfg to /usr/local/groundwork/gdma/config/gwmon_ip-10-30-2-40.us-west-2.compute.internal.cfg (timeout is set to 10 seconds). [Fri Mar 9 13:25:24 2018] Failed to get config file http://10.30.2.10/gdma/gwmon_ip-10-30-2-40.us-west-2.compute.internal.cfg -- 304 Not Modified [Fri Mar 9 13:25:24 2018] (304's are generally safe to ignore) [Fri Mar 9 13:25:24 2018] Poller is using hostname "ip-10-30-2-40.us-west-2.compute.internal". [Fri Mar 9 13:25:24 2018] Successfully fetched config file. [Fri Mar 9 13:25:24 2018] Checking config file "/usr/local/groundwork/gdma/config/gdma_auto.conf" for a change. [Fri Mar 9 13:25:24 2018] Checking config file "/usr/local/groundwork/gdma/config/gdma_override.conf" for a change. [Fri Mar 9 13:25:24 2018] Reloading config file. [Fri Mar 9 13:25:24 2018] Successfully read host config file. [Fri Mar 9 13:25:24 2018] Host config file syntax is ok. [Fri Mar 9 13:25:24 2018] Spooling poller startup message. [Fri Mar 9 13:25:24 2018] spool_startup_info: Poller 2.5.0 started at Friday March 9 13:25:24 2018 [Fri Mar 9 13:25:24 2018] Pushed result into the buffer: 0 0 1520630724 ip-10-30-2-40.us-west-2.compute.internal gdma_poller 0 Poller 2.5.0 started at Friday March 9 13:25:24 2018 [Fri Mar 9 13:25:24 2018] Executing poller normal mode. [Fri Mar 9 13:25:24 2018] The configuration file contains: Auto_Register_Attempts = fibonacci Auto_Register_Host_Profile = gdma-linux-host Auto_Register_Max_Interval = 86400 Auto_Register_Pass = gdma Auto_Register_Service_Profile = Auto_Register_User = gdma Check_gdma_linux_disk_root[1]_Service = linux_disk_root Check_gdma_linux_disk_root[1]_Check_Interval = 1 Check_gdma_linux_disk_root[1]_Enable = ON Check_gdma_linux_disk_root[1]_Command = check_disk -w 10% -c 5% -t 10 -p / Check_gdma_linux_load[1]_Command = check_load -r -w 90,75,60 -c 100,95,90 Check_gdma_linux_load[1]_Service = linux_load Check_gdma_linux_load[1]_Check_Interval = 1 Check_gdma_linux_load[1]_Enable = ON Check_gdma_linux_mem[1]_Service = linux_mem Check_gdma_linux_mem[1]_Check_Interval = 1 Check_gdma_linux_mem[1]_Enable = ON Check_gdma_linux_mem[1]_Command = check_mem.pl -f -w 20 -c 10 Check_gdma_linux_process_count[1]_Check_Interval = 1 Check_gdma_linux_process_count[1]_Service = linux_process_count Check_gdma_linux_process_count[1]_Enable = ON Check_gdma_linux_process_count[1]_Command = check_procs -w 80 -c 100 Check_gdma_linux_swap[1]_Command = check_swap -w 10% -c 5% Check_gdma_linux_swap[1]_Service = linux_swap Check_gdma_linux_swap[1]_Check_Interval = 1 Check_gdma_linux_swap[1]_Enable = ON Check_gdma_linux_uptime[1]_Command = check_system_uptime.pl -w 1800 -c 900 Check_gdma_linux_uptime[1]_Service = linux_uptime Check_gdma_linux_uptime[1]_Check_Interval = 1 Check_gdma_linux_uptime[1]_Enable = ON ConfigFile_Pull_Cycle = 1 ConfigPull_Timeout = 10 Enable_Auto = On Enable_Local_Logging = on Forced_Hostname = ip-10-30-2-40.us-west-2.compute.internal GDMAConfigDir = gdma GDMA_Auto_Host = gdma-autohost GDMA_Auto_Service = gdma_auto GDMA_Multihost = off HostSequenceNumber = 1 Logdir = /usr/local/groundwork/gdma/log/ Max_Concurrent_Hosts = 1 Max_Server_Redirects = 5 NumHostsInInstallation = 2 PluginPull_Timeout = 40 Poller_Plugin_Directory = /usr/local/groundwork/nagios/libexec Poller_Plugin_Timeout = 5 Poller_Proc_Interval = 600 Poller_Pull_Failure_Interval = 86400 Poller_Service = gdma_poller Poller_Status = On Spooler_Batch_Size = 20 Spooler_Max_Retries = 10 Spooler_NSCA_Config = /usr/local/groundwork/gdma/config/send_nsca.cfg Spooler_NSCA_Port = 5667 Spooler_NSCA_Program = /usr/local/groundwork/common/bin/send_nsca Spooler_NSCA_Timeout = 5 Spooler_Proc_Interval = 30 Spooler_Retention_Time = 900 Spooler_Service = gdma_spooler Spooler_Status = Updates Target_Server = http://10.30.2.10 Use_Long_Hostname = on [Fri Mar 9 13:25:24 2018] Executing gdma_run_checks; arguments are: -H ip-10-30-2-40.us-west-2.compute.internal -T 5 -p /usr/local/groundwork/gdma -s gdma_poller -L /usr/local/groundwork/nagios/libexec -l -D /usr/local/groundwork/gdma/log -d 2 -i [Fri Mar 9 13:25:24 2018] Check Check_gdma_linux_process_count ran 1 iterations ago; check will run now. [Fri Mar 9 13:25:24 2018] Executing 'Check_gdma_linux_process_count' - iteration 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_process_count[1]_Check_Interval = 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_process_count[1]_Service = linux_process_count [Fri Mar 9 13:25:24 2018] Check_gdma_linux_process_count[1]_Enable = ON [Fri Mar 9 13:25:24 2018] Check_gdma_linux_process_count[1]_Command = check_procs -w 80 -c 100 [Fri Mar 9 13:25:24 2018] PLUGIN COMMAND STRING: check_procs -w 80 -c 100 [Fri Mar 9 13:25:24 2018] Executing plugin command on linux [Fri Mar 9 13:25:24 2018] Wait for child process completed at Fri Mar 9 13:25:24 2018. [Fri Mar 9 13:25:24 2018] Child process failed with exit status 2; command was: check_procs -w 80 -c 100 which produced: [Fri Mar 9 13:25:24 2018] Executing command (check_procs -w 80 -c 100) PROCS CRITICAL: 122 processes This can happen if the command exits with non-zero status (e.g., to signal a warning or critical condition). [Fri Mar 9 13:25:24 2018] Plugin process terminated with code 2. [Fri Mar 9 13:25:24 2018] Raw plugin output was: [Fri Mar 9 13:25:24 2018] Executing command (check_procs -w 80 -c 100)/PROCS CRITICAL: 122 processes [Fri Mar 9 13:25:24 2018] PLUGIN RESULTS: exit=2; text=[Fri Mar 9 13:25:24 2018] Executing command (check_procs -w 80 -c 100)/PROCS CRITICAL: 122 processes [Fri Mar 9 13:25:24 2018] Pushed result into the buffer: 0 0 1520630724 ip-10-30-2-40.us-west-2.compute.internal linux_process_count 2 [Fri Mar 9 13:25:24 2018] Executing command (check_procs -w 80 -c 100)/PROCS CRITICAL: 122 processes [Fri Mar 9 13:25:24 2018] Check Check_gdma_linux_uptime ran 1 iterations ago; check will run now. [Fri Mar 9 13:25:24 2018] Executing 'Check_gdma_linux_uptime' - iteration 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_uptime[1]_Check_Interval = 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_uptime[1]_Service = linux_uptime [Fri Mar 9 13:25:24 2018] Check_gdma_linux_uptime[1]_Enable = ON [Fri Mar 9 13:25:24 2018] Check_gdma_linux_uptime[1]_Command = check_system_uptime.pl -w 1800 -c 900 [Fri Mar 9 13:25:24 2018] PLUGIN COMMAND STRING: check_system_uptime.pl -w 1800 -c 900 [Fri Mar 9 13:25:24 2018] Executing plugin command on linux [Fri Mar 9 13:25:24 2018] Wait for child process completed at Fri Mar 9 13:25:24 2018. [Fri Mar 9 13:25:24 2018] Plugin process terminated with code 0. [Fri Mar 9 13:25:24 2018] Raw plugin output was: [Fri Mar 9 13:25:24 2018] Executing command (check_system_uptime.pl -w 1800 -c 900)/OK: Uptime (s) = 351769. Linux ip-10-30-2-40 4.4.0-1052-aws #61-Ubuntu SMP Mon Feb 12 23:05:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, Last boot time (local clock) = 2018-03-05 11:42:35 [Fri Mar 9 13:25:24 2018] PLUGIN RESULTS: exit=0; text=[Fri Mar 9 13:25:24 2018] Executing command (check_system_uptime.pl -w 1800 -c 900)/OK: Uptime (s) = 351769. Linux ip-10-30-2-40 4.4.0-1052-aws #61-Ubuntu SMP Mon Feb 12 23:05:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, Last boot time (local clock) = 2018-03-05 11:42:35 [Fri Mar 9 13:25:24 2018] Pushed result into the buffer: 0 0 1520630724 ip-10-30-2-40.us-west-2.compute.internal linux_uptime 0 [Fri Mar 9 13:25:24 2018] Executing command (check_system_uptime.pl -w 1800 -c 900)/OK: Uptime (s) = 351769. Linux ip-10-30-2-40 4.4.0-1052-aws #61-Ubuntu SMP Mon Feb 12 23:05:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, Last boot time (local clock) = 2018-03-05 11:42:35 [Fri Mar 9 13:25:24 2018] Check Check_gdma_linux_disk_root ran 1 iterations ago; check will run now. [Fri Mar 9 13:25:24 2018] Executing 'Check_gdma_linux_disk_root' - iteration 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_disk_root[1]_Service = linux_disk_root [Fri Mar 9 13:25:24 2018] Check_gdma_linux_disk_root[1]_Check_Interval = 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_disk_root[1]_Enable = ON [Fri Mar 9 13:25:24 2018] Check_gdma_linux_disk_root[1]_Command = check_disk -w 10% -c 5% -t 10 -p / [Fri Mar 9 13:25:24 2018] PLUGIN COMMAND STRING: check_disk -w 10% -c 5% -t 10 -p / [Fri Mar 9 13:25:24 2018] Executing plugin command on linux [Fri Mar 9 13:25:24 2018] Wait for child process completed at Fri Mar 9 13:25:24 2018. [Fri Mar 9 13:25:24 2018] Plugin process terminated with code 0. [Fri Mar 9 13:25:24 2018] Raw plugin output was: [Fri Mar 9 13:25:24 2018] Executing command (check_disk -w 10% -c 5% -t 10 -p /)/DISK OK - free space: / 6011 MB (76% inode=86%);| /=1848MB;7088;7482;0;7876 [Fri Mar 9 13:25:24 2018] PLUGIN RESULTS: exit=0; text=[Fri Mar 9 13:25:24 2018] Executing command (check_disk -w 10% -c 5% -t 10 -p /)/DISK OK - free space: / 6011 MB (76% inode=86%);| /=1848MB;7088;7482;0;7876 [Fri Mar 9 13:25:24 2018] Pushed result into the buffer: 0 0 1520630724 ip-10-30-2-40.us-west-2.compute.internal linux_disk_root 0 [Fri Mar 9 13:25:24 2018] Executing command (check_disk -w 10% -c 5% -t 10 -p /)/DISK OK - free space: / 6011 MB (76% inode=86%);| /=1848MB;7088;7482;0;7876 [Fri Mar 9 13:25:24 2018] Check Check_gdma_linux_mem ran 1 iterations ago; check will run now. [Fri Mar 9 13:25:24 2018] Executing 'Check_gdma_linux_mem' - iteration 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_mem[1]_Command = check_mem.pl -f -w 20 -c 10 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_mem[1]_Enable = ON [Fri Mar 9 13:25:24 2018] Check_gdma_linux_mem[1]_Check_Interval = 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_mem[1]_Service = linux_mem [Fri Mar 9 13:25:24 2018] PLUGIN COMMAND STRING: check_mem.pl -f -w 20 -c 10 [Fri Mar 9 13:25:24 2018] Executing plugin command on linux [Fri Mar 9 13:25:24 2018] Wait for child process completed at Fri Mar 9 13:25:24 2018. [Fri Mar 9 13:25:24 2018] Plugin process terminated with code 0. [Fri Mar 9 13:25:24 2018] Raw plugin output was: [Fri Mar 9 13:25:24 2018] Executing command (check_mem.pl -f -w 20 -c 10)/Memory OK - 84.3% (3409364 kB) free |pct=84.3;20;10;0;100 [Fri Mar 9 13:25:24 2018] PLUGIN RESULTS: exit=0; text=[Fri Mar 9 13:25:24 2018] Executing command (check_mem.pl -f -w 20 -c 10)/Memory OK - 84.3% (3409364 kB) free |pct=84.3;20;10;0;100 [Fri Mar 9 13:25:24 2018] Pushed result into the buffer: 0 0 1520630724 ip-10-30-2-40.us-west-2.compute.internal linux_mem 0 [Fri Mar 9 13:25:24 2018] Executing command (check_mem.pl -f -w 20 -c 10)/Memory OK - 84.3% (3409364 kB) free |pct=84.3;20;10;0;100 [Fri Mar 9 13:25:24 2018] Check Check_gdma_linux_load ran 1 iterations ago; check will run now. [Fri Mar 9 13:25:24 2018] Executing 'Check_gdma_linux_load' - iteration 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_load[1]_Enable = ON [Fri Mar 9 13:25:24 2018] Check_gdma_linux_load[1]_Command = check_load -r -w 90,75,60 -c 100,95,90 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_load[1]_Check_Interval = 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_load[1]_Service = linux_load [Fri Mar 9 13:25:24 2018] PLUGIN COMMAND STRING: check_load -r -w 90,75,60 -c 100,95,90 [Fri Mar 9 13:25:24 2018] Executing plugin command on linux [Fri Mar 9 13:25:24 2018] Wait for child process completed at Fri Mar 9 13:25:24 2018. [Fri Mar 9 13:25:24 2018] Plugin process terminated with code 0. [Fri Mar 9 13:25:24 2018] Raw plugin output was: [Fri Mar 9 13:25:24 2018] Executing command (check_load -r -w 90,75,60 -c 100,95,90)/OK - load average: 0.00, 0.00, 0.00|load1=0.000;90.000;100.000;0; load5=0.000;75.000;95.000;0; load15=0.000;60.000;90.000;0; [Fri Mar 9 13:25:24 2018] PLUGIN RESULTS: exit=0; text=[Fri Mar 9 13:25:24 2018] Executing command (check_load -r -w 90,75,60 -c 100,95,90)/OK - load average: 0.00, 0.00, 0.00|load1=0.000;90.000;100.000;0; load5=0.000;75.000;95.000;0; load15=0.000;60.000;90.000;0; [Fri Mar 9 13:25:24 2018] Pushed result into the buffer: 0 0 1520630724 ip-10-30-2-40.us-west-2.compute.internal linux_load 0 [Fri Mar 9 13:25:24 2018] Executing command (check_load -r -w 90,75,60 -c 100,95,90)/OK - load average: 0.00, 0.00, 0.00|load1=0.000;90.000;100.000;0; load5=0.000;75.000;95.000;0; load15=0.000;60.000;90.000;0; [Fri Mar 9 13:25:24 2018] Check Check_gdma_linux_swap ran 1 iterations ago; check will run now. [Fri Mar 9 13:25:24 2018] Executing 'Check_gdma_linux_swap' - iteration 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_swap[1]_Check_Interval = 1 [Fri Mar 9 13:25:24 2018] Check_gdma_linux_swap[1]_Service = linux_swap [Fri Mar 9 13:25:24 2018] Check_gdma_linux_swap[1]_Command = check_swap -w 10% -c 5% [Fri Mar 9 13:25:24 2018] Check_gdma_linux_swap[1]_Enable = ON [Fri Mar 9 13:25:24 2018] PLUGIN COMMAND STRING: check_swap -w 10% -c 5% [Fri Mar 9 13:25:24 2018] Executing plugin command on linux [Fri Mar 9 13:25:24 2018] Wait for child process completed at Fri Mar 9 13:25:24 2018. [Fri Mar 9 13:25:24 2018] Plugin process terminated with code 0. [Fri Mar 9 13:25:24 2018] Raw plugin output was: [Fri Mar 9 13:25:24 2018] Executing command (check_swap -w 10% -c 5%)/SWAP OK - 100% free (0 MB out of 0 MB) |swap=0MB;0;0;0;0 [Fri Mar 9 13:25:24 2018] PLUGIN RESULTS: exit=0; text=[Fri Mar 9 13:25:24 2018] Executing command (check_swap -w 10% -c 5%)/SWAP OK - 100% free (0 MB out of 0 MB) |swap=0MB;0;0;0;0 [Fri Mar 9 13:25:24 2018] Pushed result into the buffer: 0 0 1520630724 ip-10-30-2-40.us-west-2.compute.internal linux_swap 0 [Fri Mar 9 13:25:24 2018] Executing command (check_swap -w 10% -c 5%)/SWAP OK - 100% free (0 MB out of 0 MB) |swap=0MB;0;0;0;0 [Fri Mar 9 13:25:24 2018] run_normal_mode: OK Poller processed 6 checks in 0.095 secs. Using 0.02% of 600 sec Polling Interval.|NumChecks=6;;;; TimeSecs=0.095;;;0; PctTime=0.02;60;80;0; ExecTime=0.0949299335479736;;;0; [Fri Mar 9 13:25:24 2018] Pushed result into the buffer: 0 0 1520630724 ip-10-30-2-40.us-west-2.compute.internal gdma_poller 0 OK Poller processed 6 checks in 0.095 secs. Using 0.02% of 600 sec Polling Interval.|NumChecks=6;;;; TimeSecs=0.095;;;0; PctTime=0.02;60;80;0; ExecTime=0.0949299335479736;;;0; [Fri Mar 9 13:25:24 2018] Loop count=1. Last loop exec time = 0.095 seconds. gdma@ip-10-30-2-40:/usr/local/groundwork/gdma/bin$