Difference between revisions of "/var/log/nagios3/nagios.log"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
  [1695902343] [[SERVICE ALERT]]: localhost;Current Load;OK;HARD;1;OK - load average: 0.29, 3.05, 2.02
 
  [1695902343] [[SERVICE ALERT]]: localhost;Current Load;OK;HARD;1;OK - load average: 0.29, 3.05, 2.02
  
[1626134420] SERVICE ALERT: localhost;HTTP;CRITICAL;SOFT;1;connect to address 127.0.0.1 and port 80: [[Connection refused]]
 
 
[1594324208] SERVICE ALERT: localhost;HTTP;CRITICAL;SOFT;1;CRITICAL - [[Socket timeout after]] 10 seconds
 
 
[1588658318] SERVICE ALERT: localhost;Disk Space;[[CRITICAL]];SOFT;1;[[DISK CRITICAL]] - free space: /snap/core/8689 0 MB (0% inode=0%): /snap/core18/1650 0 MB (0% inode=0%): /snap/yq/574 0 MB (0% inode=0%): /snap/core/8592 0 MB (0% inode=0%): /snap/yq/491 0 MB (0% inode=0%): /snap/core18/1668 0 MB (0% inode=0%):
 
  
 
  [1619568000] LOG ROTATION: DAILY
 
  [1619568000] LOG ROTATION: DAILY
Line 38: Line 33:
 
  Connection refused
 
  Connection refused
 
  [1655769600] CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 103 processes
 
  [1655769600] CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 103 processes
 +
 +
== [[CRITICAL]] ==
 +
[1626134420] SERVICE ALERT: localhost;HTTP;CRITICAL;SOFT;1;connect to address 127.0.0.1 and port 80: [[Connection refused]]
 +
 +
[1594324208] SERVICE ALERT: localhost;HTTP;CRITICAL;SOFT;1;CRITICAL - [[Socket timeout after]] 10 seconds
 +
 +
[1588658318] SERVICE ALERT: localhost;Disk Space;[[CRITICAL]];SOFT;1;[[DISK CRITICAL]] - free space: /snap/core/8689 0 MB (0% inode=0%): /snap/core18/1650 0 MB (0% inode=0%): /snap/yq/574 0 MB (0% inode=0%): /snap/core/8592 0 MB (0% inode=0%): /snap/yq/491 0 MB (0% inode=0%): /snap/core18/1668 0 MB (0% inode=0%):
 +
  
 
== Related ==
 
== Related ==

Revision as of 16:39, 10 December 2023

/var/log/nagios3/nagios.log
/var/log/nagios3/archives/
grep ALERT /var/log/nagios3/archives/*  /var/log/nagios3/nagios.log
grep CRITICAL /var/log/nagios3/archives/*  /var/log/nagios3/nagios.log
journalctl -u nagios3 | grep ALERT
[1695902343] SERVICE ALERT: localhost;Current Load;OK;HARD;1;OK - load average: 0.29, 3.05, 2.02


[1619568000] LOG ROTATION: DAILY
[1619568000] LOG VERSION: 2.0
[1619568000] CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.05 ms
[1619568000] CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.00, 0.00, 0.00
[1619568000] CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 0 users currently logged in
[1619568000] CURRENT SERVICE STATE: localhost;Disk Space;CRITICAL;HARD;4;DISK CRITICAL - free space: / 5055 MB (20% 
inode=94%): /snap/core18/1988 0 MB (0% inode=0%): /snap/yq/1040 0 MB (0% inode=0%): /snap/core/10908 0 MB (0% inode=0%): /snap/core18/1997 0 MB (0% inode=0%): /snap/core/10958 0 MB (0% inode=0%): /snap/yq/1077 0 MB (0% inode=0%):
[1619568000] CURRENT SERVICE STATE: localhost;HTTP;OK;HARD;1;HTTP OK: HTTP/1.1 301 Moved Permanently - 359 bytes in 0.000 second response time
[1619568000] CURRENT SERVICE STATE: localhost;SSH;CRITICAL;HARD;4;connect to address 127.0.0.1 and port 22: Connection refused
[1619568000] CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 109 processes
[1619571358] Auto-save of retention data completed successfully.
[1619574958] Auto-save of retention data completed successfully.
.../...
[1655769600] CURRENT HOST STATE: localhost;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.05 ms
[1655769600] CURRENT SERVICE STATE: localhost;Current Load;OK;HARD;1;OK - load average: 0.07, 0.08, 0.02
[1655769600] CURRENT SERVICE STATE: localhost;Current Users;OK;HARD;1;USERS OK - 0 users currently logged in
[1655769600] CURRENT SERVICE STATE: localhost;Disk Space;CRITICAL;HARD;4;DISK CRITICAL - /sys/kernel/debug/tracing is not accessible: Permission denied
[1655769600] CURRENT SERVICE STATE: localhost;HTTP;OK;HARD;1;HTTP OK: HTTP/1.1 301 Moved Permanently - 359 bytes in 
0.004 second response time
[1655769600] CURRENT SERVICE STATE: localhost;SSH;CRITICAL;HARD;4;connect to address 127.0.0.1 and port 22: 
Connection refused
[1655769600] CURRENT SERVICE STATE: localhost;Total Processes;OK;HARD;1;PROCS OK: 103 processes

CRITICAL

[1626134420] SERVICE ALERT: localhost;HTTP;CRITICAL;SOFT;1;connect to address 127.0.0.1 and port 80: Connection refused
[1594324208] SERVICE ALERT: localhost;HTTP;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 10 seconds
[1588658318] SERVICE ALERT: localhost;Disk Space;CRITICAL;SOFT;1;DISK CRITICAL - free space: /snap/core/8689 0 MB (0% inode=0%): /snap/core18/1650 0 MB (0% inode=0%): /snap/yq/574 0 MB (0% inode=0%): /snap/core/8592 0 MB (0% inode=0%): /snap/yq/491 0 MB (0% inode=0%): /snap/core18/1668 0 MB (0% inode=0%):


Related

See also

Advertising: