SlideShare a Scribd company logo
1 of 24
Monitoring Alfresco with Nagios/Icinga
               Toni de la Fuente
      Alfresco Senior Solutions Engineer
      Blog: blyx.com Twitter: @ToniBlyx
Monitoring Alfresco with Nagios/Icinga
               Toni de la Fuente
      Alfresco Senior Solutions Engineer
      Blog: blyx.com Twitter: @ToniBlyx
Agenda
• Monitoring Alfresco
• What is Nagios and Icinga?
• How it works?
• Alfresco Plugin
• Installation and configuration
• Screenshots
• Resources
Monitoring Alfresco
 • Why monitoring?    • Several ways:
  • Control            • JMX
  • Metrics            • Logging
  • Provisioning       • TCP/UDP
  • Bottlenecks        • ICMP
  • Problems           • Profiling
  • Performance
  • Scalation
  • Alerts
  • Threshold
  • Historic
How Can I Get Full Monitoring of Alfresco?
How Can I Get Full Monitoring of Alfresco?
• Nagios or Icinga + nagios4alfresco plugin
What is Nagios and Icinga?
Nagios                     Icinga
  • Open Source              • Nagios fork 2009
    monitoring software
                             • Supports DB backend
  • 1999 – NetSaint
                             • Icinga-web PHP
  • Thousands of
    downloads and live       • Icinga Reports based
    installations              on Jasper Reports
  • Very flexible              (optional)
  • Various notification
    options, alerts and
    scalations
  • Plugins and modules
How it works?
Check plugins
  • “check_smth”
  • Standard (TCP and UDP) plugins
  • Service specific (MySQL, IMAP, SMTP, etc.)
  • Custom plugins (check_jmx)
  • Derivates check_jmx  check_alfresco
How to monitoring Alfresco?
 • TCP and JMX
 • Nagios plugin for Alfresco 1.1
  • http://addons.alfresco.com/addons/alfresco-nagios-icinga-plugin/
  • For Alfresco Enterprise 3.2 and above
  • Easy and quick install
    •   README file
    •   Copy check_alfresco and check_alfresco.jar files to plugins/libexec
        directory
    •   Copy and edit alfresco-server.cfg
    •   Copy and edit alfresco-commands.cfg
    •   Reload Nagios config
  • Install pnp4nagios
    •   Performance data supported on plugin
    •   Enable performance data on Nagios
How to monitoring Alfresco?
 • TCP and JMX
 • Nagios plugin for Alfresco 1.1
  • http://addons.alfresco.com/addons/alfresco-nagios-icinga-plugin/
  • For Alfresco Enterprise 3.2 and above
  • Easy and quick install
    •   README file
    •   Copy check_alfresco and check_alfresco.jar files to plugins/libexec
        directory
    •   Copy and edit alfresco-server.cfg
    •   Copy and edit alfresco-commands.cfg
    •   Reload Nagios config
  • Install pnp4nagios
    •   Performance data supported on plugin
    •   Enable performance data on Nagios
alfresco-commands.cfg
• Config file with all Alfresco specific check commands definitions
• Sample command definition:




alfresco-server.cfg
• Sample config file for an Alfresco server (template, name, IP address,
icon, etc.)
• Sample check:
Default Monitoring Checks
                                 • 28 Alfresco JMX specific
 • 11 OS and network
                                 checks
 related checks
                                  •
  • Ping                          •
                                  •
                                  •
  • TCP ports availability and    •
                                  •
    response time                 •
                                  •
                                  •
    •   App Server (8080)         •
                                  •
    •   SSH (22)                  •
                                  •
                                  •
    •   Web Server (80)           •
                                  •
    •   Jetty (SPP – 7070)        •
                                  •
    •   FTP (21)                  •
                                  •
                                  •
    •   CIFS (139 and 445)        •
                                  •
    •   RMI (50500)               •
                                  •
    •   SMTP (inbound – 25)       •
                                  •
                                  •
New plugin version 1.2
 •     New version of nagios4alfresco plugin
     • Tested with Alfresco Enterprise 4.1.1
       •   Added SOLR + Workflow info
       •   Commented Lucene, Hibernate, Audit storage checks
       •   Changed default CIFS ports to 1445 and 1139
     • Released Nov 13th

 • Next releases and roadmap
     • Add more SOLR information
     • Add more OS related and protocol specific checks
Monitoring Community with JMX
Not Alfresco EE - JMX layer specific, but Tomcat, for example:

• check_alfresco connections to Tomcat variables (File Descriptors,
Load Average, Heap Memory Used, Number of Threads or Share
Caches)
• check_http 80 and 8080 ports for apache web proxy and tomcat
• check_snmp for several general parameter (disks, memory, cpu,
load, swap)
• check_tcp conections to CIFS, FTP, RMI ports of Alfresco ECM
• check_tomcat for servlet container monitorization via server status
• check_mysqld for nice mysql graph stats and db net traffic
Access

 • http://<yourserver>/nagios - classic web interface for
 Nagios
 • http://<yourserver>/icinga - classic web interface for Icinga
 • http://<yourserver>/icinga-web - new web interface
 • http://<yourserver>/pnp4nagios - graphs (and mobile
 access)
Icinga classic web interface (Nagios)
•   Always monitoring!
•   Nagios4Alfresco Plugin




         +33 checks
How Icinga Looks Like?
pnp4nagios: Graphs Everywhere
 • Rrd tool + nagios pefdata
Mobile Monitoring

 • pnp4nagios has its own
 mobile interface
Troubleshooting
 • Ports and firewall (open only to your monitoring server!):
    ### RMI service ports ###
   alfresco.rmi.services.port=50500
   avm.rmi.service.port=50501
   avmsync.rmi.service.port=50502
   attribute.rmi.service.port=50503
   authentication.rmi.service.port=50504
   repo.rmi.service.port=50505
   action.rmi.service.port=50506
   deployment.rmi.service.port=50507
 • Credentials
   •Change alfresco-jmxrmi.access and alfresco-jmxrmi.password (out
   of class path)
   •Read only for checks!!
   •Test with jconsole
Resources
•       Nagios                            •       Hyperic
    •    http://www.nagios.org                •    http://www.hyperic.com
•       Icinga                            •       NewRelic
    •    http://www.icinga.org                •    http://www.newrelic.com
•       pnp4nagios                        •       AppDynamics
    •    http://www.pnp4nagios.org            •    http://www.appdynamics.com
•       Nagios4alfresco plugin            •       blyx.com
    •    http://addons.alfresco.com/add       •    http://blyx.com
         ons/alfresco-nagios-icinga-
         plugin
•       JavaMelody
    •    http://code.google.com/p/java
         melody/
I would like to share my monitor server for
testing purposes
 • Not for production just test, gathering stats and add
 commands to the plugin
   • No alerts mails or sms.
 • Drop me an email: toni@blyx.com
   • IP address
   • JMX port
   • JMX read only user and password
 • I will give you web access to see your server stats
 • Remember, personal project! Not SLA to apply :P
 • Up to 20 servers total
# while you=applause; do
    echo THANKS!;
          done


             Toni de la Fuente
    Alfresco Senior Solutions Engineer
    Blog: blyx.com Twitter: @ToniBlyx
# while you=applause; do
    echo THANKS!;
          done


             Toni de la Fuente
    Alfresco Senior Solutions Engineer
    Blog: blyx.com Twitter: @ToniBlyx

More Related Content

What's hot

Alfresco scalability and performnce
Alfresco   scalability and performnceAlfresco   scalability and performnce
Alfresco scalability and performnce
Paul Hampton
 
Reducing Downtime Using Incremental Backups X-Platform TTS
Reducing Downtime Using Incremental Backups X-Platform TTSReducing Downtime Using Incremental Backups X-Platform TTS
Reducing Downtime Using Incremental Backups X-Platform TTS
Enkitec
 
[Citrix] Perforce Standardisation at Citrix
[Citrix] Perforce Standardisation at Citrix[Citrix] Perforce Standardisation at Citrix
[Citrix] Perforce Standardisation at Citrix
Perforce
 
Iptablesrocks
IptablesrocksIptablesrocks
Iptablesrocks
qwer_asdf
 

What's hot (20)

Scale your Alfresco Solutions
Scale your Alfresco Solutions Scale your Alfresco Solutions
Scale your Alfresco Solutions
 
Alfresco tuning part1
Alfresco tuning part1Alfresco tuning part1
Alfresco tuning part1
 
TTL Alfresco Product Security and Best Practices 2017
TTL Alfresco Product Security and Best Practices 2017TTL Alfresco Product Security and Best Practices 2017
TTL Alfresco Product Security and Best Practices 2017
 
Sizing your alfresco platform
Sizing your alfresco platformSizing your alfresco platform
Sizing your alfresco platform
 
201408 - Alfresco Tech Talk Live - Maven SDK 2.0
201408  - Alfresco Tech Talk Live - Maven SDK 2.0201408  - Alfresco Tech Talk Live - Maven SDK 2.0
201408 - Alfresco Tech Talk Live - Maven SDK 2.0
 
January OpenNTF Webinar - Backup your Domino Server - New Options in V12
January OpenNTF Webinar - Backup your Domino Server - New Options in V12January OpenNTF Webinar - Backup your Domino Server - New Options in V12
January OpenNTF Webinar - Backup your Domino Server - New Options in V12
 
Alfresco tuning part2
Alfresco tuning part2Alfresco tuning part2
Alfresco tuning part2
 
Replacing Your Shared Drive with Alfresco - Open Source ECM
Replacing Your Shared Drive with Alfresco - Open Source ECMReplacing Your Shared Drive with Alfresco - Open Source ECM
Replacing Your Shared Drive with Alfresco - Open Source ECM
 
Alfresco scalability and performnce
Alfresco   scalability and performnceAlfresco   scalability and performnce
Alfresco scalability and performnce
 
Ef09 installing-alfresco-components-1-by-1
Ef09 installing-alfresco-components-1-by-1Ef09 installing-alfresco-components-1-by-1
Ef09 installing-alfresco-components-1-by-1
 
Securing the Helix Platform at Citrix
Securing the Helix Platform at CitrixSecuring the Helix Platform at Citrix
Securing the Helix Platform at Citrix
 
FreeSWITCH as a Kickass SBC
FreeSWITCH as a Kickass SBCFreeSWITCH as a Kickass SBC
FreeSWITCH as a Kickass SBC
 
BP-1 Performance and Scalability
BP-1 Performance and ScalabilityBP-1 Performance and Scalability
BP-1 Performance and Scalability
 
(Re)Indexing Large Repositories in Alfresco
(Re)Indexing Large Repositories in Alfresco(Re)Indexing Large Repositories in Alfresco
(Re)Indexing Large Repositories in Alfresco
 
Reducing Downtime Using Incremental Backups X-Platform TTS
Reducing Downtime Using Incremental Backups X-Platform TTSReducing Downtime Using Incremental Backups X-Platform TTS
Reducing Downtime Using Incremental Backups X-Platform TTS
 
[Citrix] Perforce Standardisation at Citrix
[Citrix] Perforce Standardisation at Citrix[Citrix] Perforce Standardisation at Citrix
[Citrix] Perforce Standardisation at Citrix
 
Alfresco Large Scale Enterprise Deployments
Alfresco Large Scale Enterprise DeploymentsAlfresco Large Scale Enterprise Deployments
Alfresco Large Scale Enterprise Deployments
 
Nagios Conference 2014 - Andy Brist - Nagios XI Failover and HA Solutions
Nagios Conference 2014 - Andy Brist - Nagios XI Failover and HA SolutionsNagios Conference 2014 - Andy Brist - Nagios XI Failover and HA Solutions
Nagios Conference 2014 - Andy Brist - Nagios XI Failover and HA Solutions
 
Debugging IBM Connections for the Impatient Admin - Social Connections VII
Debugging IBM Connections for the Impatient Admin - Social Connections VIIDebugging IBM Connections for the Impatient Admin - Social Connections VII
Debugging IBM Connections for the Impatient Admin - Social Connections VII
 
Iptablesrocks
IptablesrocksIptablesrocks
Iptablesrocks
 

Similar to Monitoring Alfresco with Nagios/Icinga

AMF Flash and .NET
AMF Flash and .NETAMF Flash and .NET
AMF Flash and .NET
Yaniv Uriel
 
Balázs Bucsay - XFLTReaT: Building a Tunnel
Balázs Bucsay - XFLTReaT: Building a TunnelBalázs Bucsay - XFLTReaT: Building a Tunnel
Balázs Bucsay - XFLTReaT: Building a Tunnel
hacktivity
 

Similar to Monitoring Alfresco with Nagios/Icinga (20)

How to be a lion tamer
How to be a lion tamerHow to be a lion tamer
How to be a lion tamer
 
How to be a lion tamer
How to be a lion tamerHow to be a lion tamer
How to be a lion tamer
 
Sutol How To Be A Lion Tamer
Sutol How To Be A Lion TamerSutol How To Be A Lion Tamer
Sutol How To Be A Lion Tamer
 
Apache Directory and the OSGi Service Platform - Enrique Rodriguez, PMC Membe...
Apache Directory and the OSGi Service Platform - Enrique Rodriguez, PMC Membe...Apache Directory and the OSGi Service Platform - Enrique Rodriguez, PMC Membe...
Apache Directory and the OSGi Service Platform - Enrique Rodriguez, PMC Membe...
 
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
Your Inner Sysadmin - Tutorial (SunshinePHP 2015)
 
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICESCENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
CENTRAL MANAGEMENT OF NETWORK AND CALL SERVICES
 
JavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir Džaferović
JavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir DžaferovićJavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir Džaferović
JavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir Džaferović
 
Upgrading to Alfresco 6
Upgrading to Alfresco 6Upgrading to Alfresco 6
Upgrading to Alfresco 6
 
AMF Flash and .NET
AMF Flash and .NETAMF Flash and .NET
AMF Flash and .NET
 
Server Monitoring from the Cloud
Server Monitoring from the CloudServer Monitoring from the Cloud
Server Monitoring from the Cloud
 
PAC 2019 virtual Bruno Audoux
PAC 2019 virtual Bruno Audoux PAC 2019 virtual Bruno Audoux
PAC 2019 virtual Bruno Audoux
 
BKK16-205 RDK-B IoT
BKK16-205 RDK-B IoTBKK16-205 RDK-B IoT
BKK16-205 RDK-B IoT
 
Infrastructure as Code Presentation v5.pptx
Infrastructure as Code Presentation v5.pptxInfrastructure as Code Presentation v5.pptx
Infrastructure as Code Presentation v5.pptx
 
OpenStack Deployments with Chef
OpenStack Deployments with ChefOpenStack Deployments with Chef
OpenStack Deployments with Chef
 
How bol.com makes sense of its logs, using the Elastic technology stack.
How bol.com makes sense of its logs, using the Elastic technology stack.How bol.com makes sense of its logs, using the Elastic technology stack.
How bol.com makes sense of its logs, using the Elastic technology stack.
 
Chef for OpenStack - OpenStack Fall 2012 Summit
Chef for OpenStack  - OpenStack Fall 2012 SummitChef for OpenStack  - OpenStack Fall 2012 Summit
Chef for OpenStack - OpenStack Fall 2012 Summit
 
Chef for OpenStack- Fall 2012.pdf
Chef for OpenStack- Fall 2012.pdfChef for OpenStack- Fall 2012.pdf
Chef for OpenStack- Fall 2012.pdf
 
Apache Performance Tuning: Scaling Up
Apache Performance Tuning: Scaling UpApache Performance Tuning: Scaling Up
Apache Performance Tuning: Scaling Up
 
Salt at school
Salt at schoolSalt at school
Salt at school
 
Balázs Bucsay - XFLTReaT: Building a Tunnel
Balázs Bucsay - XFLTReaT: Building a TunnelBalázs Bucsay - XFLTReaT: Building a Tunnel
Balázs Bucsay - XFLTReaT: Building a Tunnel
 

More from Toni de la Fuente

Alfresco Day Madrid - Jeff Potts - Community
Alfresco Day Madrid - Jeff Potts - CommunityAlfresco Day Madrid - Jeff Potts - Community
Alfresco Day Madrid - Jeff Potts - Community
Toni de la Fuente
 
Alfresco Day Madrid - Jeff Potts - Activiti
Alfresco Day Madrid - Jeff Potts - ActivitiAlfresco Day Madrid - Jeff Potts - Activiti
Alfresco Day Madrid - Jeff Potts - Activiti
Toni de la Fuente
 
Alfresco Day Madrid - Partner - VASS
Alfresco Day Madrid - Partner - VASSAlfresco Day Madrid - Partner - VASS
Alfresco Day Madrid - Partner - VASS
Toni de la Fuente
 
Alfresco Day Madrid - Partner - IN2
Alfresco Day Madrid - Partner - IN2Alfresco Day Madrid - Partner - IN2
Alfresco Day Madrid - Partner - IN2
Toni de la Fuente
 

More from Toni de la Fuente (20)

SANS Cloud Security Summit 2018: Forensics as a Service
SANS Cloud Security Summit 2018: Forensics as a ServiceSANS Cloud Security Summit 2018: Forensics as a Service
SANS Cloud Security Summit 2018: Forensics as a Service
 
OWASP Atlanta 2018: Forensics as a Service
OWASP Atlanta 2018: Forensics as a ServiceOWASP Atlanta 2018: Forensics as a Service
OWASP Atlanta 2018: Forensics as a Service
 
Alfresco DevCon 2018: From Zero to Hero Backing up Alfresco
Alfresco DevCon 2018: From Zero to Hero Backing up AlfrescoAlfresco DevCon 2018: From Zero to Hero Backing up Alfresco
Alfresco DevCon 2018: From Zero to Hero Backing up Alfresco
 
Alabama CyberNow 2018: Cloud Hardening and Digital Forensics Readiness
Alabama CyberNow 2018: Cloud Hardening and Digital Forensics ReadinessAlabama CyberNow 2018: Cloud Hardening and Digital Forensics Readiness
Alabama CyberNow 2018: Cloud Hardening and Digital Forensics Readiness
 
Prowler: BlackHat Europe Arsenal 2018
Prowler: BlackHat Europe Arsenal 2018Prowler: BlackHat Europe Arsenal 2018
Prowler: BlackHat Europe Arsenal 2018
 
Alfresco DevCon 2019: Encryption at-rest and in-transit
Alfresco DevCon 2019: Encryption at-rest and in-transitAlfresco DevCon 2019: Encryption at-rest and in-transit
Alfresco DevCon 2019: Encryption at-rest and in-transit
 
Automate or die! Rootedcon 2017
Automate or die! Rootedcon 2017Automate or die! Rootedcon 2017
Automate or die! Rootedcon 2017
 
Seguridad en Internet para todos los públicos
Seguridad en Internet para todos los públicosSeguridad en Internet para todos los públicos
Seguridad en Internet para todos los públicos
 
Alfresco security best practices CHECK LIST ONLY
Alfresco security best practices CHECK LIST ONLYAlfresco security best practices CHECK LIST ONLY
Alfresco security best practices CHECK LIST ONLY
 
Alfresco Security Best Practices Guide
Alfresco Security Best Practices GuideAlfresco Security Best Practices Guide
Alfresco Security Best Practices Guide
 
Alfresco Backup and Disaster Recovery White Paper
Alfresco Backup and Disaster Recovery White PaperAlfresco Backup and Disaster Recovery White Paper
Alfresco Backup and Disaster Recovery White Paper
 
Alfresco One (Enterprise) vs Alfresco Community 2014
Alfresco One (Enterprise) vs Alfresco Community 2014Alfresco One (Enterprise) vs Alfresco Community 2014
Alfresco One (Enterprise) vs Alfresco Community 2014
 
Comparativa entre Alfresco Enterprise vs Community
Comparativa entre Alfresco Enterprise vs Community Comparativa entre Alfresco Enterprise vs Community
Comparativa entre Alfresco Enterprise vs Community
 
Nuevo Alfresco Records Management 2.0
Nuevo Alfresco Records Management 2.0Nuevo Alfresco Records Management 2.0
Nuevo Alfresco Records Management 2.0
 
Consejos de seguridad con Alfresco
Consejos de seguridad con AlfrescoConsejos de seguridad con Alfresco
Consejos de seguridad con Alfresco
 
Alfresco y SOLR, presentación en español
Alfresco y SOLR, presentación en españolAlfresco y SOLR, presentación en español
Alfresco y SOLR, presentación en español
 
Alfresco Day Madrid - Jeff Potts - Community
Alfresco Day Madrid - Jeff Potts - CommunityAlfresco Day Madrid - Jeff Potts - Community
Alfresco Day Madrid - Jeff Potts - Community
 
Alfresco Day Madrid - Jeff Potts - Activiti
Alfresco Day Madrid - Jeff Potts - ActivitiAlfresco Day Madrid - Jeff Potts - Activiti
Alfresco Day Madrid - Jeff Potts - Activiti
 
Alfresco Day Madrid - Partner - VASS
Alfresco Day Madrid - Partner - VASSAlfresco Day Madrid - Partner - VASS
Alfresco Day Madrid - Partner - VASS
 
Alfresco Day Madrid - Partner - IN2
Alfresco Day Madrid - Partner - IN2Alfresco Day Madrid - Partner - IN2
Alfresco Day Madrid - Partner - IN2
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

Monitoring Alfresco with Nagios/Icinga

  • 1. Monitoring Alfresco with Nagios/Icinga Toni de la Fuente Alfresco Senior Solutions Engineer Blog: blyx.com Twitter: @ToniBlyx
  • 2. Monitoring Alfresco with Nagios/Icinga Toni de la Fuente Alfresco Senior Solutions Engineer Blog: blyx.com Twitter: @ToniBlyx
  • 3. Agenda • Monitoring Alfresco • What is Nagios and Icinga? • How it works? • Alfresco Plugin • Installation and configuration • Screenshots • Resources
  • 4. Monitoring Alfresco • Why monitoring? • Several ways: • Control • JMX • Metrics • Logging • Provisioning • TCP/UDP • Bottlenecks • ICMP • Problems • Profiling • Performance • Scalation • Alerts • Threshold • Historic
  • 5. How Can I Get Full Monitoring of Alfresco?
  • 6. How Can I Get Full Monitoring of Alfresco? • Nagios or Icinga + nagios4alfresco plugin
  • 7. What is Nagios and Icinga? Nagios Icinga • Open Source • Nagios fork 2009 monitoring software • Supports DB backend • 1999 – NetSaint • Icinga-web PHP • Thousands of downloads and live • Icinga Reports based installations on Jasper Reports • Very flexible (optional) • Various notification options, alerts and scalations • Plugins and modules
  • 8. How it works? Check plugins • “check_smth” • Standard (TCP and UDP) plugins • Service specific (MySQL, IMAP, SMTP, etc.) • Custom plugins (check_jmx) • Derivates check_jmx  check_alfresco
  • 9. How to monitoring Alfresco? • TCP and JMX • Nagios plugin for Alfresco 1.1 • http://addons.alfresco.com/addons/alfresco-nagios-icinga-plugin/ • For Alfresco Enterprise 3.2 and above • Easy and quick install • README file • Copy check_alfresco and check_alfresco.jar files to plugins/libexec directory • Copy and edit alfresco-server.cfg • Copy and edit alfresco-commands.cfg • Reload Nagios config • Install pnp4nagios • Performance data supported on plugin • Enable performance data on Nagios
  • 10. How to monitoring Alfresco? • TCP and JMX • Nagios plugin for Alfresco 1.1 • http://addons.alfresco.com/addons/alfresco-nagios-icinga-plugin/ • For Alfresco Enterprise 3.2 and above • Easy and quick install • README file • Copy check_alfresco and check_alfresco.jar files to plugins/libexec directory • Copy and edit alfresco-server.cfg • Copy and edit alfresco-commands.cfg • Reload Nagios config • Install pnp4nagios • Performance data supported on plugin • Enable performance data on Nagios
  • 11. alfresco-commands.cfg • Config file with all Alfresco specific check commands definitions • Sample command definition: alfresco-server.cfg • Sample config file for an Alfresco server (template, name, IP address, icon, etc.) • Sample check:
  • 12. Default Monitoring Checks • 28 Alfresco JMX specific • 11 OS and network checks related checks • • Ping • • • • TCP ports availability and • • response time • • • • App Server (8080) • • • SSH (22) • • • • Web Server (80) • • • Jetty (SPP – 7070) • • • FTP (21) • • • • CIFS (139 and 445) • • • RMI (50500) • • • SMTP (inbound – 25) • • •
  • 13. New plugin version 1.2 • New version of nagios4alfresco plugin • Tested with Alfresco Enterprise 4.1.1 • Added SOLR + Workflow info • Commented Lucene, Hibernate, Audit storage checks • Changed default CIFS ports to 1445 and 1139 • Released Nov 13th • Next releases and roadmap • Add more SOLR information • Add more OS related and protocol specific checks
  • 14. Monitoring Community with JMX Not Alfresco EE - JMX layer specific, but Tomcat, for example: • check_alfresco connections to Tomcat variables (File Descriptors, Load Average, Heap Memory Used, Number of Threads or Share Caches) • check_http 80 and 8080 ports for apache web proxy and tomcat • check_snmp for several general parameter (disks, memory, cpu, load, swap) • check_tcp conections to CIFS, FTP, RMI ports of Alfresco ECM • check_tomcat for servlet container monitorization via server status • check_mysqld for nice mysql graph stats and db net traffic
  • 15. Access • http://<yourserver>/nagios - classic web interface for Nagios • http://<yourserver>/icinga - classic web interface for Icinga • http://<yourserver>/icinga-web - new web interface • http://<yourserver>/pnp4nagios - graphs (and mobile access)
  • 16. Icinga classic web interface (Nagios) • Always monitoring! • Nagios4Alfresco Plugin +33 checks
  • 18. pnp4nagios: Graphs Everywhere • Rrd tool + nagios pefdata
  • 19. Mobile Monitoring • pnp4nagios has its own mobile interface
  • 20. Troubleshooting • Ports and firewall (open only to your monitoring server!): ### RMI service ports ### alfresco.rmi.services.port=50500 avm.rmi.service.port=50501 avmsync.rmi.service.port=50502 attribute.rmi.service.port=50503 authentication.rmi.service.port=50504 repo.rmi.service.port=50505 action.rmi.service.port=50506 deployment.rmi.service.port=50507 • Credentials •Change alfresco-jmxrmi.access and alfresco-jmxrmi.password (out of class path) •Read only for checks!! •Test with jconsole
  • 21. Resources • Nagios • Hyperic • http://www.nagios.org • http://www.hyperic.com • Icinga • NewRelic • http://www.icinga.org • http://www.newrelic.com • pnp4nagios • AppDynamics • http://www.pnp4nagios.org • http://www.appdynamics.com • Nagios4alfresco plugin • blyx.com • http://addons.alfresco.com/add • http://blyx.com ons/alfresco-nagios-icinga- plugin • JavaMelody • http://code.google.com/p/java melody/
  • 22. I would like to share my monitor server for testing purposes • Not for production just test, gathering stats and add commands to the plugin • No alerts mails or sms. • Drop me an email: toni@blyx.com • IP address • JMX port • JMX read only user and password • I will give you web access to see your server stats • Remember, personal project! Not SLA to apply :P • Up to 20 servers total
  • 23. # while you=applause; do echo THANKS!; done Toni de la Fuente Alfresco Senior Solutions Engineer Blog: blyx.com Twitter: @ToniBlyx
  • 24. # while you=applause; do echo THANKS!; done Toni de la Fuente Alfresco Senior Solutions Engineer Blog: blyx.com Twitter: @ToniBlyx

Editor's Notes

  1. return optional performance data in addition to normal status data, as well as allow you to pass that performance data to external applications for processing.
  2. return optional performance data in addition to normal status data, as well as allow you to pass that performance data to external applications for processing.
  3. Instead of check_tcp -&gt; check_tomcat
  4. Datos sensibles
  5. Also nagios apps on Apple Store and Google Play