dduenasd / check_tomcat.py

This is a nagios plugin to monitorize tomcat servers
Other
9 stars 18 forks source link

Error on enabling verbosity #9

Open R00T88 opened 5 years ago

R00T88 commented 5 years ago

hi, i'm expecting this error when i try to enable verbosity

[root@xxxx plugins]# ./check_tomcat.py -H xx.xx.it -p 8080 -u manager -a xxx-m status -w 80 -c 90 -v verbosity level = 1

Arguments: Namespace(URL='/manager', authentication='xxx', connector=None, critical='90', expire_time='0', host='xx.xx.it', mode='status', nameapp=None, port='8080', timeout='5', user='manager', verbosity=1, warning='80') connection url: http://xx.xx.it:8080/manager/serverinfo

connection url: http://xx.xx.it:8080/manager/text/serverinfo

connection url: http://xx.xx.it:8080/manager/status?XML=true

Traceback (most recent call last): File "./check_tomcat.py", line 580, in if not error_expire: NameError: name 'error_expire' is not defined

Thanks

R00T88 commented 5 years ago

Tomcat 7