scripts/xymon/sample.messages/ports.alert

32 lines
1.3 KiB
Plaintext
Raw Normal View History

BBCOLORLEVEL="yellow"
BBALPHAMSG="HOST.DOMAIN.ORG:ports yellow [40450]
yellow Tue Aug 21 11:43:22 CEST 2018 - Ports NOT ok
&yellow SMTP listener (found 0, req. between 1 and 2)
&green SSH logins (found 0, req. at most 10)
&green Bad listeners (found 0, req. at most 0)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 111.222.333.444:45250 WWW.XXX.YYY.ZZZ:1984 TIME_WAIT
tcp 0 0 111.222.333.444:54522 444.333.222.111:389 ESTABLISHED
tcp 0 0 111.222.333.444:45244 WWW.XXX.YYY.ZZZ:1984 TIME_WAIT
tcp 0 0 111.222.333.444:45242 WWW.XXX.YYY.ZZZ:1984 TIME_WAIT
tcp6 0 0 :::22 :::* LISTEN
udp 0 0 0.0.0.0:68 0.0.0.0:*
udp6 0 0 :::69 :::*
See http://localhost/xymon-cgi/svcstatus.sh?HOST=HOST.DOMAIN.ORG&SERVICE=ports
"
ACKCODE="40450"
RCPT="1234567890"
BBHOSTNAME="HOST.DOMAIN.ORG"
MACHIP="111222333444"
BBSVCNAME="ports"
BBSVCNUM="0"
BBHOSTSVC="HOST.DOMAIN.ORG.ports"
BBHOSTSVCCOMMAS="HOST,DOMAIN,ORG.ports"
BBNUMERIC="00011122233344440450"
RECOVERED="0"
DOWNSECS="6"
DOWNSECSMSG=""