mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-05 22:55:17 +01:00
new check_nagios scripts added
This commit is contained in:
10
check_nagios/check_nagios_plugin_existance
Executable file
10
check_nagios/check_nagios_plugin_existance
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import sys,os
|
||||
sys.path.append('/opt/pynag')
|
||||
from pynag import Model
|
||||
|
||||
all_commands = Model.Command.objects.all
|
||||
for c in all_commands:
|
||||
print c.command_line
|
||||
|
||||
Reference in New Issue
Block a user