Page 1 of 1

Agent and Agentless monitoring

Posted: Fri Nov 18, 2022 10:21 am
by lukedevon
Hi,

Please help me to understand in what situations we have to use an agent to monitor a device? Usually its quite difficult to get the approval from the IT dept to install such an agent to a server. So we always have to reply on agentless monitoring.

Then the other questions is, how do we monitor a 3rd party application as its not listed in the configuration wizard. Lets say, that particular application is running in port 5000. How can we handle such situations?

Do we need to open firewall access from Nagios XI to the remote server:5000 ?

Thanks in advance
Luke Devon.

Re: Agent and Agentless monitoring

Posted: Fri Nov 18, 2022 6:19 pm
by gormank
You can use agentless if desired or if an agent can't be installed. There's no case I can think of where using an agent is required--it can make things easier though.
You can use SNMP to get lots of info if it's enabled on the hosts to be monitored, then there's ssh.
There's a site exchange.nagios.com where lots of plugins are available, so wizards are just one option.
If you want to talk to port xxxx from nagios, it has to be open on any FWs in between.
nagioshost$ nmap -Pn remotehost
to check.
You should be able to use check_tcp to see if a port is open and get a response. check_tcp -h