ALFRESCO plugin install in XI (what to do?)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

ALFRESCO plugin install in XI (what to do?)

Post 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
You do not have the required permissions to view the files attached to this post.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

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

Post by bwallace »

This doc should enable you to get this plugin to work with XI:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out the Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

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

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

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

Post 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
Former Nagios Employee
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

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

Post 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)
Locked