what is command to get the remote nagios agent version

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
grayloglearn
Posts: 222
Joined: Thu Jul 06, 2017 8:55 am

what is command to get the remote nagios agent version

Post 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. :)
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: what is command to get the remote nagios agent version

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
grayloglearn
Posts: 222
Joined: Thu Jul 06, 2017 8:55 am

Re: what is command to get the remote nagios agent version

Post by grayloglearn »

for the check_nt can you please provide
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: what is command to get the remote nagios agent version

Post by scottwilkerson »

Code: Select all

/usr/local/nagios/libexec/check_nt -H HOST_IP -p 12489 -v CLIENTVERSION -s PASSWORD
Replacing HOST_IP & PASSWORD
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
grayloglearn
Posts: 222
Joined: Thu Jul 06, 2017 8:55 am

Re: what is command to get the remote nagios agent version

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: what is command to get the remote nagios agent version

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked