Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error forbidden in tomcat 7 #10

Open
R00T88 opened this issue Dec 7, 2018 · 1 comment
Open

Error forbidden in tomcat 7 #10

R00T88 opened this issue Dec 7, 2018 · 1 comment

Comments

@R00T88
Copy link

R00T88 commented Dec 7, 2018

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

@R00T88
Copy link
Author

R00T88 commented Dec 7, 2018

it search for manager/text/serverinfo but should not manager/html/serverinfo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant