dduenasd / check_tomcat.py

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

mode mem can't use #5

Closed richardweiu closed 7 years ago

richardweiu commented 7 years ago

when I use this command:

' $ ./check_tomcat.py -H xx -p 8080 -u admin -a admin -m mem'

I just get this message:

usage: check_tomcat.py [-h] [-V] [-v] -H HOST -p PORT [-u USER] [-a PASS]
                       [-U URL] [-C CONNECTOR] [-t TIMEOUT] [-e EXPIRE_TIME]
                       [-n NAMEAPP] [-w WARNING] [-c CRITICAL] -m
                       {status,mem,thread,app}
ERROR: Warning and critical values requiered with mode "mem"

just when I use -vvv can't all the message about server heap