Hi
We are unable to get Apache monitoring over NCPA to work:
"UNKNOWN: Error occurred while running the plugin. Use the verbose flag for more details."
We had follwed the manual aside from the unclear NCPA config change after check_jvm.jar is installed (should there be any changes)
Also, we have Oracle JDK we are using, but not the Open JDK. Would it be a must to get both of them installed?
Thank you
Unable to get Apache monitoring over NCPA to work
Re: Unable to get Apache monitoring over NCPA to work
Can you run the check from the command line and add a -v to it? That will give you the verbose output, and should give us a better idea of what is going on.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to get Apache monitoring over NCPA to work
mbellerue wrote:Can you run the check from the command line and add a -v to it? That will give you the verbose output, and should give us a better idea of what is going on.
Where would I add -v ?
-t alfresco -P 5693 -M plugins/check_jvm.jar -q "args=-s service:jmx:rmi://ignored/jndi/rmi://10.102.75.70:50500/alfresco/jmxrmi,args=-u 'monitorRole ',args=-p 'SuperCraneInKCForQAECM2018',args=-t tomcat,args=-C 'MemorySimpleHeap,MemoryOld,MemoryMetaspace,ProcessCPUUsage,SystemCPUUsage,ThreadCount',args=-w '7516192768,5368709120,314572800,75,80,225',args=-c '8589934592,6442450944,419430400,85,90,250'"
Re: Unable to get Apache monitoring over NCPA to work
Code: Select all
-t alfresco -P 5693 -v -M plugins/check_jvm.jar -q "args=-s service:jmx:rmi://ignored/jndi/rmi://10.102.75.70:50500/alfresco/jmxrmi,args=-u 'monitorRole ',args=-p 'SuperCraneInKCForQAECM2018',args=-t tomcat,args=-C 'MemorySimpleHeap,MemoryOld,MemoryMetaspace,ProcessCPUUsage,SystemCPUUsage,ThreadCount',args=-w '7516192768,5368709120,314572800,75,80,225',args=-c '8589934592,6442450944,419430400,85,90,250'"As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to get Apache monitoring over NCPA to work
Here is the outputmbellerue wrote:Putting the -v right after the port like this should be fine.Code: Select all
-t alfresco -P 5693 -v -M plugins/check_jvm.jar -q "args=-s service:jmx:rmi://ignored/jndi/rmi://10.102.75.70:50500/alfresco/jmxrmi,args=-u 'monitorRole ',args=-p 'SuperCraneInKCForQAECM2018',args=-t tomcat,args=-C 'MemorySimpleHeap,MemoryOld,MemoryMetaspace,ProcessCPUUsage,SystemCPUUsage,ThreadCount',args=-w '7516192768,5368709120,314572800,75,80,225',args=-c '8589934592,6442450944,419430400,85,90,250'"
Connecting to: https://10.102.75.70:5693/api/plugins/c ... InKCForQAE
An error occurred:
'HTTPError' object has no attribute 'reason'
Re: Unable to get Apache monitoring over NCPA to work
That's odd. I don't see 'reason' specified anywhere in that command. Does this plugin work if you run it directly on the host with the same command line switches?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Unable to get Apache monitoring over NCPA to work
what would be the full command?mbellerue wrote:That's odd. I don't see 'reason' specified anywhere in that command. Does this plugin work if you run it directly on the host with the same command line switches?
Re: Unable to get Apache monitoring over NCPA to work
I'm not quite up on how to run Java files.
But that does bring up another point. We should check your ncpa.cfg file to make sure that there's a Java handler. Can you post your ncpa.cfg file?
Code: Select all
check_jvm.jar args=-s service:jmx:rmi://ignored/jndi/rmi://10.102.75.70:50500/alfresco/jmxrmi,args=-u 'monitorRole ',args=-p 'SuperCraneInKCForQAECM2018',args=-t tomcat,args=-C 'MemorySimpleHeap,MemoryOld,MemoryMetaspace,ProcessCPUUsage,SystemCPUUsage,ThreadCount',args=-w '7516192768,5368709120,314572800,75,80,225',args=-c '8589934592,6442450944,419430400,85,90,250'As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!