new check connections_state #13

Manually merged
Ghost merged 4 commits from check_connections_state into dev 2019-09-03 17:36:55 +02:00
Member

Script to check if connections are UP, and if so, check whether main connection is correctly used. Also add configuration to use with nrpe and sudo.

Script to check if connections are UP, and if so, check whether main connection is correctly used. Also add configuration to use with nrpe and sudo.
Ghost requested changes 2019-04-23 22:32:23 +02:00
Ghost left a comment
First-time contributor

Besides the sudo fixes this looks okay.

Besides the sudo fixes this looks okay.
@ -36,3 +36,4 @@ command[check_smb]=/usr/local/libexec/nagios/check_tcp -H IPLOCALE -p 445
#command[check_ospf6d]=doas /usr/local/libexec/nagios/plugins/check_ospf6d
command[check_ospfd_simple]=sudo /usr/local/libexec/nagios/plugins/check_ospfd_simple
First-time contributor

Uses sudo, should probably be doas

Uses sudo, should probably be doas
Author
Member

I will open a new Pull Request to replace all sudo occurrences with doas

I will open a new Pull Request to replace all sudo occurrences with doas
@ -36,3 +36,4 @@ command[check_smb]=/usr/local/libexec/nagios/check_tcp -H IPLOCALE -p 445
#command[check_ospf6d]=doas /usr/local/libexec/nagios/plugins/check_ospf6d
command[check_ospfd_simple]=sudo /usr/local/libexec/nagios/plugins/check_ospfd_simple
command[check_mysql]=/usr/local/libexec/nagios/check_mysql -H 127.0.0.1 -f /etc/nrpe.d/.my.cnf
command[check_connections_state]=sudo /usr/local/libexec/nagios/check_connections_state.sh
First-time contributor

Uses sudo, should probably be doas

Uses sudo, should probably be doas
Ghost requested changes 2019-04-23 22:34:01 +02:00
Ghost left a comment
First-time contributor

Besides the sudo fixes this looks okay.

Besides the sudo fixes this looks okay.
Author
Member

I replaced sudo with doas and improved the script.

I replaced sudo with doas and improved the script.
jdubois changed title from WIP: new check connections_state to new check connections_state 2019-07-15 17:55:27 +02:00
Ghost approved these changes 2019-09-03 17:31:48 +02:00
Ghost closed this pull request 2019-09-03 17:36:55 +02:00
Ghost deleted branch check_connections_state 2019-09-03 17:37:02 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: evolix/EvoBSD#13
No description provided.