1. Home /
  2. Downloads /
  3. Agents /
  4. AIX /
  5. Installing the Agent on HP-UX Platform

Installing the Agent on HP-UX Platform

Objective

The objective is to describe the procedures for the automated installation of the monitoring agent on HP-UX environments, with the objective of monitoring with opMon.

This agent was homologated onle for versions HP-UX Itanium 11.23 IA e 11.31 IA.

For HP-UX RISC use the manual process, click here.

Target audience

It is intended fot OpMon administrators and IT teams that are already familiarized with the installation fo HP-HX applications, and with the Opmon configuration.

Solution

With the intention of optimizing the installation process of the HP-UX agent, OpServices created an automated installation package, containing the NRPE + Nagios PluginsOPServicesPlugins, just fallow the steps below.

Download   Download right from the OpServices site at:  [ OpMonAgent HP-UX-11-1.0.bin ]

The agent must be installed on the destination HP-UX equipment,  and later configured on OpMon.

Or if you prefer, you can try a manual  installation, just click here and follow the steps.

1) Obtaining the installation file

Login as root on the target server and later download the file, as shown below.

[root@localhost] cd /tmp
[root@localhost tmp]# wget http://www.opservices.com.br/files/agentes/HP-UX/OpMonAgent_HP-UX-11-1.0.bin

2) Enable the Execution permit

It’s required to run the following procedure to make the file executable.

[root@localhost tmp]# cdmod +x OpMonAgent_HP-UX-11-1.0.bin

3) Run the installer

To run the installation, follow the next procedure.

It will decompress the agent and install on silent mode throught the swinstal, creating the user nrpe, performing later the setting of plugins and agent initialization.

[root@localhost tmp]# ./OpMonAgent_HP-UX-11-1.0.bin

4) Testing the Plugins

To valited if the plugins are working, let’s make some tests. If everything is OK, the result must be similar to the following.

[root@localhost]# cd /opt/nrpe/libexec
[root@localhost libexec]# ./check_load
check_load: Could not parse arguments
Usage:
check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 

[root@localhost libexec]# ./check_http -H www.google.com 
HTTP OK: HTTP/1.1 302 Found - 1009 bytes in 0.219 second response time |time=0.218719s;;;0.000000 size=1009B;;;

5) Testing the access Locally

To check if the 5666 port is opened for connections, use the next command and check if the exit is the same.

[root@localhost]# netstat -vantup | grep 5666
tcp 0 0 0.0.0.0:5666   0.0.0.0:*   LISTEN 2202/xinetd

To check the NRPE communication.

[root@localhost]# /opt/nrpe/libexec/check_nrpe -H 127.0.0.1
NRPE v2.12

6) Testing the access by OpMon

From the OpMon console, we can check te NRPE communication when running the next command, placing the IP_DO_SERVIDOR, where we just installed the agent.

[root@opmon]# /usr/local/opmon/libexec/check_nrpe -H IP_DO_SERVIDOR
NRPE v2.12

Running load consult throught the NRPE.

[root@opmon]# /usr/local/opmon/libexec/check_nrpe-H IP_DO_SERVIDOR -c check_load -a none 
OK - load average: 0.02,0.03,0.00|load1=0.020;15.000;30.000;0;load5=0.030;10.000;25.000;0;load15=0.000;5.000;20.000;0;

Updated on 01/09/2021

Was this article helpful?

Ficou com alguma dúvida?

Perguntas & Respostas

Participe da nossa comunidade e tire dúvidas ou compartilhe respostas e ideias.

Participar

Professional Support

Não encontrou a resposta que procura? Não se preocupe, estamos aqui para ajudar!

Abrir chamado

Treinamento Online

Através da plataforma Udemy, você encontra todos os treinamentos das nossas soluções.

Inscreva-se