all this nagios stuff assumes python2 which will not work on F30+

This commit is contained in:
Stephen Smoogen 2019-12-12 15:25:21 +00:00 committed by Pierre-Yves Chibon
parent cbbe39bd15
commit 68ddf2b343
18 changed files with 18 additions and 18 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python2
""" NRPE check for datanommer/fedmsg health.
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.

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python2
import sys
try:

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python2
import json
import os

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python2
import json
import os

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python2
import arrow
import json

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python2
import json
import os

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python2
""" Nagios check for haproxy over-subscription.
fedmsg-gateway is the primary concern as it can eat up a ton of simultaneous

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python2
#
# very simple python script to parse out /proc/mdstat
# and give results for nagios to monitor

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/python2
""" check_supybot_plugin -- ensure that a plugin is loaded by supybot.
Run like: