monitoring "localhost" non network exposed services

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

monitoring "localhost" non network exposed services

Postby rjc2021 » Tue May 25, 2021 1:24 pm

Hello
I am curious if there is a way to monitor non standard services or those that dont have internal commands, which only listen to localhost binding and are not network exposed?

something such as this which is bound only to the internal localhost port:
127.0.0.1:6379

I have a server i wish to monitor that has a number of these which are not exposed for security or other reasons, which are literally running on the server hosting nagios, but im unsure how to config this whether on same server or remote using some kind of authentication or other if this is even possible.

Thanks in advance.
rjc2021
 
Posts: 1
Joined: Tue May 25, 2021 1:18 pm

Re: monitoring "localhost" non network exposed services

Postby mcapra » Wed Jun 02, 2021 12:27 pm

rjc2021 wrote:I am curious if there is a way to monitor non standard services or those that dont have internal commands, which only listen to localhost binding and are not network exposed?



You can use passive checks to "push" results to Nagios Core, rather than having Nagios Core reach out to an agent to collect information:
https://assets.nagios.com/downloads/nag ... hecks.html

This is usually what is done for egress-only network paths. Here's some documentation for setting up NRDP to receive passive checks for Nagios Core, if that's the route you wanna take:
https://support.nagios.com/kb/article/n ... e-602.html

As far as the remote host / client are concerned, NRDP operates over HTTP. As long as you have an HTTP/TCP client, you can send stuff to NRDP running along-side your Nagios Core instance.
Former Nagios employee
https://www.mcapra.com/
User avatar
mcapra
 
Posts: 3661
Joined: Thu May 05, 2016 3:54 pm


Return to Community Support

Who is online

Users browsing this forum: luisjnet and 27 guests