updated the script to fix issues

This commit is contained in:
Andrew Heath 2023-05-30 13:30:23 -04:00
parent 6c7e6a3218
commit de5ab8f045
2 changed files with 7 additions and 7 deletions

View file

@ -11,7 +11,7 @@ try:
check_consumer = sys.argv[2]
backlog_warning = int(sys.argv[3])
backlog_critical = int(sys.argv[4])
fname = '/var/run/fedmsg/monitoring-%s.socket' % service
fname = '/var/run/fedmsg/monitoring-%s-3.socket' % service
if not os.path.exists(fname):
print("UNKNOWN - %s does not exist" % fname)