[BlueOnyx:22549] Re: since some days warning in server status without detail warnings
Dirk Estenfeld
dirk.estenfeld at blackpoint.de
Fri Dec 14 11:42:16 -05 2018
Hello Michael,
hmm, looks like in the GUI. Everything N or G but overall state R
Dec 14 17:30:02 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
Remote lastChange = 1544805002 currentState = N currentMessage = ""
Dec 14 17:30:02 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . SNMP
lastChange = 1544805002 currentState = G currentMessage =
"[[base-snmp.amSNMPStatusOK]]"
Dec 14 17:30:03 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . Vsite
lastChange = 1544805003 currentState = G currentMessage =
"[[base-vsite.amStatusOK]]"
Dec 14 17:30:03 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . mysql
lastChange = 1544805003 currentState = G currentMessage =
"[[base-mysql.amStatusOK]]"
Dec 14 17:30:03 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
MAILMAN lastChange = 1544805003 currentState = G currentMessage =
"[[base-mailman.amMAILMANStatusOK]]"
Dec 14 17:30:03 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
PHPFPMMASTER lastChange = 1544805003 currentState = G currentMessage =
"[[base-apache.amPHPFPMMASTERStatusOK]]"
Dec 14 17:30:03 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
FPMPHP55 lastChange = 1544805003 currentState = G currentMessage =
"[[base-apache.amPHPFPM55StatusOK]]"
Dec 14 17:30:03 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
FPMPHP56 lastChange = 1544805003 currentState = G currentMessage =
"[[base-apache.amPHPFPM56StatusOK]]"
Dec 14 17:30:03 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
PHPFPM lastChange = 1544805003 currentState = G currentMessage =
"[[base-apache.amPHPFPMStatusOK]]"
Dec 14 17:30:03 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . SSH
lastChange = 1544805003 currentState = G currentMessage =
"[[base-ssh.amStatusOK]]"
Dec 14 17:30:03 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
Network lastChange = 1544805003 currentState = G currentMessage =
"[[base-network.amNetworkOK]]"
Dec 14 17:30:03 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
Apache lastChange = 1544805003 currentState = G currentMessage =
"[[base-apache.amStatusOK]]"
Dec 14 17:30:04 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . Disk
lastChange = 1544805004 currentState = G currentMessage =
"[[base-disk.amDiskOk]]"
Dec 14 17:30:04 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . CPU
lastChange = 1544805004 currentState = G currentMessage =
"[[base-am.amCPUWarning_light]]"
Dec 14 17:30:04 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
CLAMAV lastChange = 1544805004 currentState = G currentMessage =
"[[solarspeed-av_spam.amCLAMAVStatusOK]]"
Dec 14 17:30:05 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
SpamAssassin lastChange = 1544805005 currentState = G currentMessage =
"[[solarspeed-av_spam.amSpamAssassinStatusOK]]"
Dec 14 17:30:05 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
AVSPAM lastChange = 1544805005 currentState = G currentMessage =
"[[solarspeed-av_spam.amEmailGreen]]"
Dec 14 17:30:05 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . FTP
lastChange = 1544805005 currentState = G currentMessage =
"[[base-ftp.amStatusOK]]"
Dec 14 17:30:05 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
Memory lastChange = 1544805005 currentState = G currentMessage =
"[[base-am.amMemWarning_light]]"
Dec 14 17:30:05 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . SMTP
lastChange = 1544805005 currentState = G currentMessage =
"[[base-email.amSMTPStatusOK]]"
Dec 14 17:30:05 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . POP3
lastChange = 1544805005 currentState = G currentMessage =
"[[base-email.amPOP3StatusOK]]"
Dec 14 17:30:05 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . IMAP
lastChange = 1544805005 currentState = G currentMessage =
"[[base-email.amIMAPStatusOK]]"
Dec 14 17:30:05 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 .
SMTPAuth lastChange = 1544805005 currentState = G currentMessage =
"[[base-email.amSMTPAuthStatusOK]]"
Dec 14 17:30:05 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30 . Email
lastChange = 1544805005 currentState = G currentMessage =
"[[base-email.amEmailGreen]]"
Dec 14 17:30:05 mikev5 cced(smd)[31207]: client 0:[0:31206]: SET 30
globalState = R
Dec 14 17:38:44 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . Remote
lastChange = 1544805524 currentState = N currentMessage = ""
Dec 14 17:38:44 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . SNMP
lastChange = 1544805524 currentState = G currentMessage =
"[[base-snmp.amSNMPStatusOK]]"
Dec 14 17:38:44 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . Vsite
lastChange = 1544805524 currentState = G currentMessage =
"[[base-vsite.amStatusOK]]"
Dec 14 17:38:44 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . mysql
lastChange = 1544805524 currentState = G currentMessage =
"[[base-mysql.amStatusOK]]"
Dec 14 17:38:45 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . MAILMAN
lastChange = 1544805525 currentState = G currentMessage =
"[[base-mailman.amMAILMANStatusOK]]"
Dec 14 17:38:45 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 .
PHPFPMMASTER lastChange = 1544805525 currentState = G currentMessage =
"[[base-apache.amPHPFPMMASTERStatusOK]]"
Dec 14 17:38:45 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . FPMPHP55
lastChange = 1544805525 currentState = G currentMessage =
"[[base-apache.amPHPFPM55StatusOK]]"
Dec 14 17:38:45 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . FPMPHP56
lastChange = 1544805525 currentState = G currentMessage =
"[[base-apache.amPHPFPM56StatusOK]]"
Dec 14 17:38:45 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . PHPFPM
lastChange = 1544805525 currentState = G currentMessage =
"[[base-apache.amPHPFPMStatusOK]]"
Dec 14 17:38:45 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . SSH
lastChange = 1544805525 currentState = G currentMessage =
"[[base-ssh.amStatusOK]]"
Dec 14 17:38:45 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . Network
lastChange = 1544805525 currentState = G currentMessage =
"[[base-network.amNetworkOK]]"
Dec 14 17:38:45 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . Apache
lastChange = 1544805525 currentState = G currentMessage =
"[[base-apache.amStatusOK]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . Disk
lastChange = 1544805526 currentState = G currentMessage =
"[[base-disk.amDiskOk]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . CPU
lastChange = 1544805526 currentState = G currentMessage =
"[[base-am.amCPUWarning_light]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . CLAMAV
lastChange = 1544805526 currentState = G currentMessage =
"[[solarspeed-av_spam.amCLAMAVStatusOK]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 .
SpamAssassin lastChange = 1544805526 currentState = G currentMessage =
"[[solarspeed-av_spam.amSpamAssassinStatusOK]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . AVSPAM
lastChange = 1544805526 currentState = G currentMessage =
"[[solarspeed-av_spam.amEmailGreen]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . FTP
lastChange = 1544805526 currentState = G currentMessage =
"[[base-ftp.amStatusOK]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . Memory
lastChange = 1544805526 currentState = G currentMessage =
"[[base-am.amMemWarning_light]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . SMTP
lastChange = 1544805526 currentState = G currentMessage =
"[[base-email.amSMTPStatusOK]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . POP3
lastChange = 1544805526 currentState = G currentMessage =
"[[base-email.amPOP3StatusOK]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . IMAP
lastChange = 1544805526 currentState = G currentMessage =
"[[base-email.amIMAPStatusOK]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . SMTPAuth
lastChange = 1544805526 currentState = G currentMessage =
"[[base-email.amSMTPAuthStatusOK]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 . Email
lastChange = 1544805526 currentState = G currentMessage =
"[[base-email.amEmailGreen]]"
Dec 14 17:38:46 mikev5 cced(smd)[889]: client 0:[0:888]: SET 30 globalState
= R
Some Suggestions?
Best regards,
Dirk
---
blackpoint GmbH Friedberger Straße 106b 61118 Bad Vilbel
-----Ursprüngliche Nachricht-----
Von: Blueonyx <blueonyx-bounces at mail.blueonyx.it> Im Auftrag von Michael
Stauber
Gesendet: Freitag, 14. Dezember 2018 16:05
An: blueonyx at mail.blueonyx.it
Betreff: [BlueOnyx:22547] Re: since some days warning in server status
without detail warnings
Hi Dirk,
> since some days the system status icon for some servers is red.
> However if I open the detail page everything is blue. No warnings.
> Also a recheck bring noch changes, The status icon is still red and in
> detail view there are no warnings.
>
> What can I do to check why system status icon in red?
Here is an easy way how you can debug this:
Open a SSH session to your server as root.
Then run /usr/sbin/swatch to execute the monitoring of all enabled Active
Monitor components.
Then check the logfile /var/log/messages to see the reports for the
individual components and the summary:
tail -900 /var/log/messages|grep SET|grep State
That should report something like this:
SET 15 . fail2ban lastChange = 1544799092 currentState = G currentMessage =
"[[solarspeed-fail2ban.amfail2banGreen]]"
SET 15 . Vsite lastChange = 1544799092 currentState = G currentMessage =
"[[base-vsite.amStatusOK]]"
SET 15 . mysql lastChange = 1544799092 currentState = G currentMessage =
"[[base-mysql.amStatusOK]]"
SET 15 . MAILMAN lastChange = 1544799092 currentState = G currentMessage =
"[[base-mailman.amMAILMANStatusOK]]"
SET 15 . PHPFPMMASTER lastChange = 1544799092 currentState = G
currentMessage = "[[base-apache.amPHPFPMMASTERStatusOK]]"
SET 15 . FPMPHP56 lastChange = 1544799093 currentState = G currentMessage =
"[[base-apache.amPHPFPM56StatusOK]]"
SET 15 . PHPFPM lastChange = 1544799093 currentState = G currentMessage =
"[[base-apache.amPHPFPMStatusOK]]"
SET 15 . SSH lastChange = 1544799093 currentState = G currentMessage =
"[[base-ssh.amStatusOK]]"
SET 15 . base lastChange = 1544799093 currentState = G currentMessage =
"[[Compass-base.amStatusOK]]"
SET 15 . Nginx lastChange = 1544799094 currentState = G currentMessage =
"[[base-nginx.amStatusOK]]"
SET 15 . Apache lastChange = 1544799094 currentState = G currentMessage =
"[[base-apache.amStatusOK]]"
SET 15 . Disk lastChange = 1544799094 currentState = G currentMessage =
"[[base-disk.amDiskOk]]"
SET 15 . CPU lastChange = 1544799094 currentState = G currentMessage =
"[[base-am.amCPUWarning_light]]"
SET 15 . MilterGreylist lastChange = 1544799095 currentState = G
currentMessage = "[[solarspeed-av_spam.amMilterGreylistStatusOK]]"
SET 15 . CLAMAV lastChange = 1544799095 currentState = G currentMessage =
"[[solarspeed-av_spam.amCLAMAVStatusOK]]"
SET 15 . SpamAssassin lastChange = 1544799095 currentState = G
currentMessage = "[[solarspeed-av_spam.amSpamAssassinStatusOK]]"
SET 15 . AVSPAM lastChange = 1544799095 currentState = G currentMessage =
"[[solarspeed-av_spam.amEmailGreen]]"
SET 15 . FTP lastChange = 1544799095 currentState = G currentMessage =
"[[base-ftp.amStatusOK]]"
SET 15 . Memory lastChange = 1544799095 currentState = G currentMessage =
"[[base-am.amMemWarning_light]]"
SET 15 . SMTP lastChange = 1544799095 currentState = G currentMessage =
"[[base-email.amSMTPStatusOK]]"
SET 15 . IMAP lastChange = 1544799095 currentState = G currentMessage =
"[[base-email.amIMAPStatusOK]]"
SET 15 . SMTPAuth lastChange = 1544799095 currentState = G currentMessage =
"[[base-email.amSMTPAuthStatusOK]]"
SET 15 . Email lastChange = 1544799095 currentState = G currentMessage =
"[[base-email.amEmailGreen]]"
SET 15 . Docker lastChange = 1544799096 currentState = G currentMessage =
"[[base-docker.amStatusOK]]"
SET 15 . apf lastChange = 1544799097 currentState = G currentMessage =
"[[solarspeed-apf.amAPFGreen]]"
SET 15 . Admserv lastChange = 1544799097 currentState = G currentMessage =
"[[base-apache.amAdmservStatusOK]]"
SET 15 globalState = G
Let us just look at the last two here:
The component "Admserv" reported it's currentState as "G", which means
"green".
Possible states:
G = Green
Y = Yellow
R = Red
N = Not monitored
If you look through the report above, you can see that everything that's
being monitored reported "G", so it's all OK.
Finally, the last step is this:
SET 15 globalState = G
That sets the "global" Active Monitor flag to "G" (green). That way the GUI
has an easy way to check if all services were OK or not. Had one of the
individually monitored components reported "Y", the globalState would be
"Y". If at least one monitored service had reported "R", then regardless of
what the other components had said the globalState flag would be "R".
So in your case please find out which component is reporting "currentState =
R" and that might tell you more.
--
With best regards
Michael Stauber
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5526 bytes
Desc: not available
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20181214/f4f7fe35/attachment.p7s>
More information about the Blueonyx
mailing list