lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
147 stars 87 forks source link

vpn-status show vpn down many times #271

Open curdubanbogdan opened 3 years ago

curdubanbogdan commented 3 years ago

./check_nwc_health --mode vpn-status show vpn down many times, not a single line. Any idea how to display only one line of vpn down?

CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure CRITICAL - peerLost phase1 failure

I want only one line and also to show more ordered fashion, not a big chunk of data.

curdubanbogdan commented 3 years ago

i solved the ordered question with "--multiline", but still the issue with multiple lines of the same failure.