Apache tomcat monitoring issue using ncpa
Posted: Thu Jun 03, 2021 9:38 am
We are trying to monitor apache tomcat using ncpa agent but we are facing issues.
As this is completely new monitoring set up and not aware of right use case of arguments, could you please suggest. we did follow the document.
https://assets.nagios.com/downloads/nag ... 1773666937
please let us know if ncpa.cfg has to edited with options and right way to have this monitored
./check_ncpa_.py -H XXXXX -t xxxx -P 5693 -M 'plugins/check_jvm.jar' -q "args=-s xxxxxx:1000/jmxrmi,args=-u 'xxx',args=-p 'xxx',args=-t tomcat,args=-C 'ClassCount',args=-w '10000',args=-c '50000'"
UNKNOWN: An error occured connecting to API. (HTTP error: '500 INTERNAL SERVER ERROR')
Please help with this?
As this is completely new monitoring set up and not aware of right use case of arguments, could you please suggest. we did follow the document.
https://assets.nagios.com/downloads/nag ... 1773666937
please let us know if ncpa.cfg has to edited with options and right way to have this monitored
./check_ncpa_.py -H XXXXX -t xxxx -P 5693 -M 'plugins/check_jvm.jar' -q "args=-s xxxxxx:1000/jmxrmi,args=-u 'xxx',args=-p 'xxx',args=-t tomcat,args=-C 'ClassCount',args=-w '10000',args=-c '50000'"
UNKNOWN: An error occured connecting to API. (HTTP error: '500 INTERNAL SERVER ERROR')
Please help with this?