Hello Nagios XI support
We are trying to find plugin for monitoring ALFRESCO with NAGIOS XI
found one attached and contacted the author (who does not know XI)
- readme file outlines steps for CORE, but not XI integration (what to do with Commands and server CFG files VS XI configurations)?
Please help to figure this one
Thank you,
Dimitri
ALFRESCO plugin install in XI (what to do?)
ALFRESCO plugin install in XI (what to do?)
You do not have the required permissions to view the files attached to this post.
Re: ALFRESCO plugin install in XI (what to do?)
This doc should enable you to get this plugin to work with XI:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: ALFRESCO plugin install in XI (what to do?)
Have you tested this one yourself?bwallace wrote:This doc should enable you to get this plugin to work with XI:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
- this documentation is generic and does not answer commands & servers questions for XI
- if I am to add commands via GUI, some things do not look right VS CFG files provided
Example of command (based of CFG file) would be appreciated
Re: ALFRESCO plugin install in XI (what to do?)
Looking at the top of the alfresco-commands.cfg -
The command name should be check_alfresco_HeapMemoryUsage_Used
The command line should be $USER1$/check_alfresco -U service:jmx:rmi:///jndi/rmi://'$HOSTADDRESS$':'$ARG1$'/alfresco/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -u '$ARG2$' -p '$ARG3$' -w '$ARG4$' -c '$ARG5$'
check_alfresco.jar should be moved into the libexec directory, as well check_alfresco.
From there, your service should use 5 $ARG#$ variables. Set them accordingly, and here is what each one represents:
- $ARG1$ = PORT
- $ARG2$ = USERNAME
- $ARG3$ = PASSWORD
- $ARG4$ = WARNING
- $ARG5$ = CRITICAL
Code: Select all
# 'check_alfresco_HeapMemoryUsage_Used' command definition
define command {
command_name check_alfresco_HeapMemoryUsage_Used
command_line $USER1$/check_alfresco -U service:jmx:rmi:///jndi/rmi://'$HOSTADDRESS$':'$ARG1$'/alfresco/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -u '$ARG2$' -p '$ARG3$' -w '$ARG4$' -c '$ARG5$'
}
The command line should be $USER1$/check_alfresco -U service:jmx:rmi:///jndi/rmi://'$HOSTADDRESS$':'$ARG1$'/alfresco/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -u '$ARG2$' -p '$ARG3$' -w '$ARG4$' -c '$ARG5$'
check_alfresco.jar should be moved into the libexec directory, as well check_alfresco.
From there, your service should use 5 $ARG#$ variables. Set them accordingly, and here is what each one represents:
- $ARG1$ = PORT
- $ARG2$ = USERNAME
- $ARG3$ = PASSWORD
- $ARG4$ = WARNING
- $ARG5$ = CRITICAL
Former Nagios Employee
Re: ALFRESCO plugin install in XI (what to do?)
rkennedy wrote:Looking at the top of the alfresco-commands.cfg -The command name should be check_alfresco_HeapMemoryUsage_UsedCode: Select all
# 'check_alfresco_HeapMemoryUsage_Used' command definition define command { command_name check_alfresco_HeapMemoryUsage_Used command_line $USER1$/check_alfresco -U service:jmx:rmi:///jndi/rmi://'$HOSTADDRESS$':'$ARG1$'/alfresco/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -u '$ARG2$' -p '$ARG3$' -w '$ARG4$' -c '$ARG5$' }
The command line should be $USER1$/check_alfresco -U service:jmx:rmi:///jndi/rmi://'$HOSTADDRESS$':'$ARG1$'/alfresco/jmxrmi -O java.lang:type=Memory -A HeapMemoryUsage -K used -u '$ARG2$' -p '$ARG3$' -w '$ARG4$' -c '$ARG5$'
check_alfresco.jar should be moved into the libexec directory, as well check_alfresco.
From there, your service should use 5 $ARG#$ variables. Set them accordingly, and here is what each one represents:
- $ARG1$ = PORT
- $ARG2$ = USERNAME
- $ARG3$ = PASSWORD
- $ARG4$ = WARNING
- $ARG5$ = CRITICAL
Please close this thread - created support ticket for JAVA monitoring overall (JMX & ALFRESCO & JBOSS & TOMCAT)