all this nagios stuff assumes python2 which will not work on F30+
This commit is contained in:
parent
cbbe39bd15
commit
68ddf2b343
18 changed files with 18 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
""" NRPE check for datanommer/fedmsg health.
|
""" NRPE check for datanommer/fedmsg health.
|
||||||
Given a category like 'bodhi', 'buildsys', or 'git', return an error if
|
Given a category like 'bodhi', 'buildsys', or 'git', return an error if
|
||||||
datanommer hasn't seen a message of that type in such and such time.
|
datanommer hasn't seen a message of that type in such and such time.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
|
|
||||||
import arrow
|
import arrow
|
||||||
import json
|
import json
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
""" Nagios check for haproxy over-subscription.
|
""" Nagios check for haproxy over-subscription.
|
||||||
|
|
||||||
fedmsg-gateway is the primary concern as it can eat up a ton of simultaneous
|
fedmsg-gateway is the primary concern as it can eat up a ton of simultaneous
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
#
|
#
|
||||||
# very simple python script to parse out /proc/mdstat
|
# very simple python script to parse out /proc/mdstat
|
||||||
# and give results for nagios to monitor
|
# and give results for nagios to monitor
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
""" check_supybot_plugin -- ensure that a plugin is loaded by supybot.
|
""" check_supybot_plugin -- ensure that a plugin is loaded by supybot.
|
||||||
|
|
||||||
Run like:
|
Run like:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
""" NRPE check for datanommer/fedmsg health.
|
""" NRPE check for datanommer/fedmsg health.
|
||||||
Given a category like 'bodhi', 'buildsys', or 'git', return an error if
|
Given a category like 'bodhi', 'buildsys', or 'git', return an error if
|
||||||
datanommer hasn't seen a message of that type in such and such time.
|
datanommer hasn't seen a message of that type in such and such time.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
""" Nagios check for haproxy over-subscription.
|
""" Nagios check for haproxy over-subscription.
|
||||||
|
|
||||||
fedmsg-gateway is the primary concern as it can eat up a ton of simultaneous
|
fedmsg-gateway is the primary concern as it can eat up a ton of simultaneous
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
#
|
#
|
||||||
# very simple python script to parse out /proc/mdstat
|
# very simple python script to parse out /proc/mdstat
|
||||||
# and give results for nagios to monitor
|
# and give results for nagios to monitor
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
""" check_supybot_plugin -- ensure that a plugin is loaded by supybot.
|
""" check_supybot_plugin -- ensure that a plugin is loaded by supybot.
|
||||||
|
|
||||||
Run like:
|
Run like:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/python2
|
||||||
#
|
#
|
||||||
# A script to read the Nagios status file and send email for notifications
|
# A script to read the Nagios status file and send email for notifications
|
||||||
# off, but have recovered.
|
# off, but have recovered.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue