nagios-dash

This commit is contained in:
Kameron Kenny 2024-12-30 16:40:33 -05:00
parent c55bee87fd
commit dee322af88
2 changed files with 29 additions and 29 deletions

View File

@ -12,7 +12,7 @@ services:
build: build:
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: nagios container_name: nagios
image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:241230.0.12 image: docker-registry1.in.thelinuxpro.net:5000/tlp/nagios:241230.0.13
networks: networks:
infra_dev_net: infra_dev_net:
ipv4_address: 10.99.23.36 ipv4_address: 10.99.23.36

View File

@ -1,5 +1,5 @@
<?php <?php
$file = fopen("/var/cache/nagios3/status.dat", "r") or exit("Unable to open file!"); //path to nagios file $file = fopen("/opt/nagios/var/status.dat", "r") or exit("Unable to open file!"); //path to nagios file
$refreshvalue = 10; //value in seconds to refresh page $refreshvalue = 10; //value in seconds to refresh page
$collastcheck = true; //true/false to show last checked date column in table $collastcheck = true; //true/false to show last checked date column in table