Page 1 of 1

ALFRESCO plugin install in XI (what to do?)

Posted: Tue Feb 09, 2016 1:30 pm
by dlukinski
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

Re: ALFRESCO plugin install in XI (what to do?)

Posted: Tue Feb 09, 2016 4:07 pm
by bwallace
This doc should enable you to get this plugin to work with XI:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: ALFRESCO plugin install in XI (what to do?)

Posted: Wed Feb 10, 2016 3:44 pm
by dlukinski
bwallace wrote:This doc should enable you to get this plugin to work with XI:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Have you tested this one yourself?
- 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?)

Posted: Wed Feb 10, 2016 4:19 pm
by rkennedy
Looking at the top of the alfresco-commands.cfg -

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 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

Re: ALFRESCO plugin install in XI (what to do?)

Posted: Thu Mar 03, 2016 3:42 pm
by dlukinski
rkennedy wrote:Looking at the top of the alfresco-commands.cfg -

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 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

Please close this thread - created support ticket for JAVA monitoring overall (JMX & ALFRESCO & JBOSS & TOMCAT)