Added php files for nagios monitoring

This commit is contained in:
2026-02-12 22:44:33 +00:00
parent ecaf54e2fb
commit 573421700d
6 changed files with 263 additions and 64 deletions

View File

@@ -0,0 +1,73 @@
[
{
"host": "hostname",
"domain": "domain",
"path": "/path(leave empty if is the webroot)",
"wordtocheck": "word to check",
"wordcheck_ok": 0,
"sslcheck_ok": 0,
"ssl-released": null,
"ssl-expiry": null,
"ssl-company": null,
"content_http_code": 0,
"content_error": "URL rejected: Malformed input to a URL function",
"ssl_error": "stream_socket_client failed: php_network_getaddresses: getaddrinfo for domain failed: Name or service not known (0)"
},
{
"host": "hostname",
"domain": "domain",
"path": "/path(leave empty if is the webroot)",
"wordtocheck": "word to check",
"wordcheck_ok": 1,
"sslcheck_ok": 1,
"ssl-released": "24/12/2025",
"ssl-expiry": "24/02/2026",
"ssl-company": null,
"content_http_code": 200,
"content_error": null,
"ssl_error": null
},
{
"host": "hostname",
"domain": "testdomain",
"path": "/path(leave empty if is the webroot)",
"wordtocheck": "word to check",
"wordcheck_ok": 1,
"sslcheck_ok": 1,
"ssl-released": "24/12/2025",
"ssl-expiry": "16/02/2026",
"ssl-company": null,
"content_http_code": 200,
"content_error": null,
"ssl_error": null
},
{
"host": "sld-app-a",
"domain": "sld-server.org",
"path": "",
"wordtocheck": "proxmox",
"wordcheck_ok": 1,
"sslcheck_ok": 1,
"ssl-released": "24/12/2025",
"ssl-expiry": "24/03/2026",
"ssl-company": "Cloudflare TLS Issuing ECC CA 3",
"content_http_code": 200,
"content_error": null,
"ssl_error": null
},
{
"host": "hostname",
"domain": "domain",
"path": "/path(leave empty if is the webroot)",
"wordtocheck": "word to check",
"wordcheck_ok": 1,
"sslcheck_ok": 1,
"ssl-released": "24/12/2025",
"ssl-expiry": "22/02/2026",
"ssl-company": null,
"content_http_code": 200,
"content_error": null,
"ssl_error": null
}
]