Setup a Messaging Broker for super Nagios

Install packages

Install below packages:
  • yum install jmx4perl-agent and restart ActiveMQ
  • yum install nagios-nrpe
  • yum install nagios-plugins
  • yum install grid-monitoring-org.nagiosexchange-probes

Configure packages

Once this is done, you can configure the packages.
  • Add super Nagios ip address on allowed_hosts in /etc/nagios/nrpe.cfg
  • Add below commands in the end of NRPE configuration /etc/nagios/nrpe.cfg and restart NRPE daemon doing service nrpe restart

command[check_activemq_proc1]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -a '/usr/share/activemq/bin/run.jar' command[check_activemq_proc2]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -a '/usr/share/activemq/bin/linux/wrapper'

command[check_nrpe_daemon]=/usr/lib64/nagios/plugins/check_procs -C nrpe -c 1:

command[check_activemq_established_connections]=/usr/libexec/grid-monitoring/probes/org.nagiosexchange/ -p 6162,6163,6166,6167 -A 6162,6163,6166,6167 -w "1000,1000,1000,1000" -e

command[check_activemq_listening_sockets]=/usr/libexec/grid-monitoring/probes/org.nagiosexchange/ -p 6162,6163,6166,6167 -A 6162,6163,6166,6167 -c "<1,<1,<1,<1" -l

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2010-02-18 - MassimoPaladin
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main/MassimoPaladin All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback