Remote Access

check_softeth by Ryan Wilgoss

Description:

This plugin monitors the services that make up the SoftEth VPN server. It requires that the SoftEther VPN server is installed as per the standard instructions for Linux based OS as this plugin makes use of the vpncmd. Details can be found at https://www.softether.org/

Current Version

1.0

Last Release Date

2019-12-11

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Files
Project Photos
Project Notes
This plugin monitors the services that make up the SoftEth VPN server. It requires that the SoftEtherVPN server is installed as per the standard instructions for Linux based OS as this plugin makes use of the vpncmd. Details can be found at https://www.softether.org/ ### Service Definition Example ### define service { use generic-service host_name vpn-server-example.com service_description VPN SoftEther Server check_command check_nrpe!check_softether } ### NRPE configuratiuon example on host ### command[check_softether]=/usr/lib64/nagios/plugins/check_softether ### check_softether plugin ### #!/bin/bash # ############################################ # This is a Nagios plugin that monitors the status # # of services of the SoftEth VPN Server # # # # Version 1.0 # # # # Written by R. Wilgoss 10/12/2019 # ############################################# /usr/local/vpnserver/vpncmd /TOOLS /CMD check > vpntest.txt status_all=$( cat vpntest.txt ) status=$( grep -r "All checks passed" vpntest.txt | awk '{print $0}' ) if [ "$status" = "All checks passed. It is most likely that SoftEther VPN Server / Bridge can operate normally on this system." ]; then echo "OK - VPN Server Status Operational" awk '/Kernel System/{print;getline;print;}' vpntest.txt awk '/Memory Operation System/{print;getline;print;}' vpntest.txt awk '/Unicode string processing system/{print;getline;print;}' vpntest.txt awk '/File system/{print;getline;print;}' vpntest.txt awk '/Thread processing system/{print;getline;print;}' vpntest.txt awk '/Network system/{print;getline;print;}' vpntest.txt exit 0 else echo "CRITICAL - VPN Server Status Operational Error" awk '/Kernel System/{print;getline;print;}' vpntest.txt awk '/Memory Operation System/{print;getline;print;}' vpntest.txt awk '/Unicode string processing system/{print;getline;print;}' vpntest.txt awk '/File system/{print;getline;print;}' vpntest.txt awk '/Thread processing system/{print;getline;print;}' vpntest.txt awk '/Network system/{print;getline;print;}' vpntest.txt exit 0 fi
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
4,790