-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from opinkerfi/okconfig-1.3.5-1
Okconfig 1.3.5 1
- Loading branch information
Showing
15 changed files
with
331 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
pynag>=0.9.1 | ||
paramiko | ||
unittest2 | ||
setuptools_rust |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
define service { | ||
use okc-windows-check_eventlog | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description Event ID 15021 - HTTP Service SSL Availability | ||
__FILE "file=System" | ||
__SCANRANGE "scan-range=-24h" | ||
__FILTER "filter=id = 15021" | ||
__CRITICAL "critical=count gt 0" | ||
__EXTRAOPTS show-all | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
define service { | ||
use okc-check_http | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description HTTP Response | ||
|
||
__URI / | ||
__SEARCH_STRING | ||
__RESPONSE_WARNING 2 | ||
__RESPONSE_CRITICAL 10 | ||
__VIRTUAL_HOST HOSTNAME | ||
__PORT 80 | ||
} | ||
|
||
define service { | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description HTTPS Response | ||
check_command okc-check_https | ||
use okc-check_https | ||
|
||
__URI / | ||
__SEARCH_STRING | ||
__RESPONSE_WARNING 2 | ||
__RESPONSE_CRITICAL 10 | ||
__VIRTUAL_HOST HOSTNAME | ||
__PORT 443 | ||
|
||
} | ||
|
||
|
||
define service { | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description SSL Certificate | ||
check_command okc-check_ssl_cert | ||
use okc-check_ssl_cert | ||
|
||
__CERTIFICATE_AGE_WARNING 21 | ||
__CERTIFICATE_AGE_CRITICAL 2 | ||
__PORT 443 | ||
__PROTOCOL https | ||
__CERTOPTIONS -N | ||
} |
87 changes: 87 additions & 0 deletions
87
usr/share/okconfig/examples/xrd-central-server.cfg-example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
|
||
define service { | ||
use okc-check_http | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - tcp/80 - HTTP | ||
|
||
__URI / | ||
__SEARCH_STRING | ||
__RESPONSE_WARNING 8 | ||
__RESPONSE_CRITICAL 10 | ||
__VIRTUAL_HOST HOSTNAME | ||
__EXTRAOPTIONS -e 403 | ||
__PORT 80 | ||
|
||
} | ||
|
||
define service { | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - tcp/4000 - NGINX Admin GUI | ||
use okc-check_https | ||
|
||
__URI / | ||
__SEARCH_STRING | ||
__RESPONSE_WARNING 8 | ||
__RESPONSE_CRITICAL 10 | ||
__VIRTUAL_HOST HOSTNAME | ||
__PORT 4000 | ||
|
||
} | ||
|
||
define service { | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - tcp/4000 - NGINX Admin GUI - Certificate | ||
use okc-check_https_certificate | ||
|
||
__CERTIFICATE_AGE_WARNING 21 | ||
__CERTIFICATE_AGE_CRITICAL 2 | ||
__RESPONSE_WARNING 8 | ||
__RESPONSE_CRITICAL 10 | ||
__PORT 4000 | ||
} | ||
|
||
define service { | ||
use okc-check_tcp | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - tcp/4001 - Central Server Communication | ||
__PORT 4001 | ||
} | ||
|
||
define service { | ||
use okc-linux-check_proc | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
__NAME nginx | ||
__WARNING 1: | ||
__CRITICAL :50 | ||
service_description XRD - Process - nginx | ||
} | ||
|
||
define service { | ||
use okc-linux-check_service | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - Service - nginx | ||
__NAME nginx | ||
} | ||
|
||
define service { | ||
use okc-linux-check_service | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - Service - xroad-jetty | ||
__NAME xroad-jetty | ||
} | ||
|
||
define service { | ||
use okc-linux-check_service | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - Service - xroad-signer | ||
__NAME xroad-signer | ||
} | ||
|
92 changes: 92 additions & 0 deletions
92
usr/share/okconfig/examples/xrd-security-server.cfg-example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
|
||
define service { | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - tcp/4000 - Admin GUI | ||
use okc-check_https | ||
|
||
__URI / | ||
__SEARCH_STRING | ||
__RESPONSE_WARNING 8 | ||
__RESPONSE_CRITICAL 10 | ||
__VIRTUAL_HOST HOSTNAME | ||
__PORT 4000 | ||
|
||
} | ||
|
||
define service { | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - tcp/4000 - Admin GUI - Certificate | ||
use okc-check_https_certificate | ||
|
||
__CERTIFICATE_AGE_WARNING 21 | ||
__CERTIFICATE_AGE_CRITICAL 2 | ||
__RESPONSE_WARNING 8 | ||
__RESPONSE_CRITICAL 10 | ||
__PORT 4000 | ||
} | ||
|
||
define service { | ||
use okc-linux-check_service | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - Service - xroad-signer | ||
__NAME xroad-signer | ||
} | ||
|
||
define service { | ||
use okc-linux-check_service | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - Service - xroad-proxy | ||
__NAME xroad-proxy | ||
} | ||
|
||
define service { | ||
use okc-linux-check_service | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - Service - xroad-confclient | ||
__NAME xroad-confclient | ||
} | ||
|
||
define service { | ||
use okc-linux-check_service | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - Service - xroad-proxy-ui-api | ||
__NAME xroad-proxy-ui-api | ||
} | ||
|
||
define service { | ||
use okc-linux-check_service | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - Service - xroad-monitor | ||
__NAME xroad-monitor | ||
} | ||
|
||
define service { | ||
use okc-linux-check_service | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - Service - xroad-opmonitor | ||
__NAME xroad-opmonitor | ||
} | ||
|
||
define service { | ||
use okc-check_tcp | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - tcp/5500 - Message Transport | ||
__PORT 5500 | ||
} | ||
|
||
define service { | ||
use okc-check_tcp | ||
host_name HOSTNAME | ||
contact_groups GROUP | ||
service_description XRD - tcp/5577 - Message Transport OCSP | ||
__PORT 5577 | ||
} |
Oops, something went wrong.