1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 02:13:44 +01:00
nagios-plugins/check_nagios/check_nagios_plugin_existance

11 lines
175 B
Plaintext
Raw Permalink Normal View History

2011-12-02 10:46:11 +01:00
#!/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