mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-12-22 17:13:52 +01:00
11 lines
175 B
Plaintext
11 lines
175 B
Plaintext
|
#!/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
|
||
|
|