nagios_status added
This commit is contained in:
parent
e8b9106559
commit
da9fdb3046
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "nagios"]
|
||||
path = nagios.src
|
||||
url = https://git.mount-mockery.de/pylib/nagios.git
|
1
nagios.src
Submodule
1
nagios.src
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit fd556d92ad987ecd81f1bc220933d40d4f3446fb
|
10
nagios_status
Executable file
10
nagios_status
Executable 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user