Open R00T88 opened 5 years ago
hi, my user is configured in tomcat 7 as manager-gui but not able to get app status from script says forbidden
[root@xx plugins]# ./check_tomcat.py -H xx.xx.it -p 8080 -u manager -a xxx -m app -w 80 -c 90 -n test3 -vvv verbosity level = 3
Arguments: Namespace(URL='/manager', authentication='xxx', connector=None, critical='90', expire_time='0', host='xx.xx.it', mode='app', nameapp='test3', port='8080', timeout='5', user='manager', verbosity=3, warning='80') connection url: http://xx.xx.it:8080/manager/serverinfo
page http://xx.xx.it:8080/manager/serverinfo content: ERROR: The server couldn't fulfill the request. HTTP Error 404: Not Found
serverinfo: ERROR: The server couldn't fulfill the request. HTTP Error 404: Not Found connection url: http://xx.xx.it:8080/manager/text/serverinfo
page http://xx.xx.it:8080/manager/text/serverinfo content: ERROR: Forbidden, yours credentials are not correct. HTTP Error 403: Forbidden
Traceback (most recent call last): File "./check_tomcat.py", line 580, in if not error_expire: NameError: name 'error_expire' is not defined
it search for manager/text/serverinfo but should not manager/html/serverinfo?
hi, my user is configured in tomcat 7 as manager-gui but not able to get app status from script says forbidden
[root@xx plugins]# ./check_tomcat.py -H xx.xx.it -p 8080 -u manager -a xxx -m app -w 80 -c 90 -n test3 -vvv verbosity level = 3
Arguments: Namespace(URL='/manager', authentication='xxx', connector=None, critical='90', expire_time='0', host='xx.xx.it', mode='app', nameapp='test3', port='8080', timeout='5', user='manager', verbosity=3, warning='80') connection url: http://xx.xx.it:8080/manager/serverinfo
page http://xx.xx.it:8080/manager/serverinfo content: ERROR: The server couldn't fulfill the request. HTTP Error 404: Not Found
serverinfo: ERROR: The server couldn't fulfill the request. HTTP Error 404: Not Found connection url: http://xx.xx.it:8080/manager/text/serverinfo
page http://xx.xx.it:8080/manager/text/serverinfo content: ERROR: Forbidden, yours credentials are not correct. HTTP Error 403: Forbidden
Traceback (most recent call last): File "./check_tomcat.py", line 580, in
if not error_expire:
NameError: name 'error_expire' is not defined