Page 1 of 1
what is command to get the remote nagios agent version
Posted: Thu Oct 24, 2019 10:54 am
by grayloglearn
Hi Team,
I know this is simple question but i want to ask the question.
Can we know the nagios agent nsclient/nrpe version by calling from nagios. Could you please send the command to get know the version details.

Re: what is command to get the remote nagios agent version
Posted: Thu Oct 24, 2019 11:23 am
by mbellerue
Sure, you can just run /usr/local/nagios/libexec/check_nrpe -H <HostNameOrIP> and it will return a quick blurb showing the version.
Re: what is command to get the remote nagios agent version
Posted: Thu Oct 24, 2019 11:30 am
by grayloglearn
for the check_nt can you please provide
Re: what is command to get the remote nagios agent version
Posted: Thu Oct 24, 2019 12:35 pm
by scottwilkerson
Code: Select all
/usr/local/nagios/libexec/check_nt -H HOST_IP -p 12489 -v CLIENTVERSION -s PASSWORD
Replacing
HOST_IP &
PASSWORD
Re: what is command to get the remote nagios agent version
Posted: Fri Nov 08, 2019 1:25 pm
by grayloglearn
I need some technical information for below what are the action it will perform in client end.
usr/local/nagios/libexec/check_nt -H HOST_IP -p 12489 -v CLIENTVERSION -s PASSWORD
I need technical backend information what are the actions like from where it's taking aget information, if any script executing in client. I need complete technical stuff.
Re: what is command to get the remote nagios agent version
Posted: Fri Nov 08, 2019 4:10 pm
by benjaminsmith
Hello
@grayloglearn,
Can we know the nagios agent nsclient/nrpe version by calling from nagios. Could you please send the command to get know the version details
I believe the initial question has been answered by Scott.
If you're looking to go under the hood with check_nt and NSClient, they are open source projects and I would recommend reviewing the source code on the following GitHub pages.
https://github.com/mickem/nscp
https://github.com/nagios-plugins/nagio ... check_nt.c