Jump to content

08 Nagios with ElasticAgent Deploy

From TetraWiki

Auto-generated from the uploaded PDF 08_Nagios_with_ElasticAgent_Deploy.pdf. This is an extracted-text rendering for searchability; see the original PDF for exact formatting, diagrams, tables, and images.


Nagios server Monitoring By ElasticAgent
1. Copy ca certificate from master node to Nagios Server
   scp /etc/elasticsearch/certs/ca.crt root@localhost:/etc/pki/ca-
   trust/source/anchors/
   update-ca-trust


2. Enter host in hosts file
   vi /etc/hosts

3. Create AgentPolicy from Kibana dashboard
   Go to Agent Polices  Create Agent policy


Give relevant Policy name and click to create Policy

4. Now go to Fleet dashboard and Click to Nagios Agent Policy and Click add Agent


5. Select server Linux_x86_84 and Copy all content and run one by one in Nagios /ElasticAgent directory


         mkdir ElasticAgent
         cd ElasticAgent


6. Go to Kibana Dashboard and check the status should be healthy