Commit Graph

6 Commits

Author SHA1 Message Date
Jiri Podivin
f513e7cbcd Linting python scripts
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:29 +00:00
Adam Williamson
8286b8f6c8 Port check_nagios_notifications.py to Python 3
Saw from one of the emails this morning that this isn't running
because there's no python2 on whatever system it was trying to
run on. This ports it to Python 3 (thanks, 2to3) and cleans up
the formatting (thanks, black). I tested it with a random sample
file I found lying around the internet -
https://github.com/bahamas10/node-nagios-status-parser/blob/master/status.dat
and it seems to do what it's supposed to do.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-14 08:58:54 -07:00
Kevin Fenzi
349dec197c nagios_seever/ irc colorize: 2to3 run to move to python3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-01 16:45:28 -07:00
Stephen Smoogen
68ddf2b343 all this nagios stuff assumes python2 which will not work on F30+ 2020-04-24 21:34:19 +02:00
Kevin Fenzi
fc15d5bf36 additional fix for new status.dat location in nagios 2017-03-14 16:00:37 +00:00
Stephen Smoogen
8cf72ff116 put in the first run at new nagios configs 2017-01-05 00:55:16 +00:00