nagios_status added

This commit is contained in:
Dirk Alders 2024-08-12 15:29:43 +02:00
parent e8b9106559
commit da9fdb3046
3 changed files with 14 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "nagios"]
path = nagios.src
url = https://git.mount-mockery.de/pylib/nagios.git

1
nagios.src Submodule

@ -0,0 +1 @@
Subproject commit fd556d92ad987ecd81f1bc220933d40d4f3446fb

10
nagios_status Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
#
BASEDIR=$(dirname $0)
if [ $# -eq 0 ]; then
python3 $BASEDIR/nagios.src/status.py nagios.home
else
python3 $BASEDIR/nagios.src/status.py $*
fi