NRDS Question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

NRDS Question

Post by BanditBBS »

What makes the client grab the plugins? does it automatically just grab any files from the folder on the server or does it only grab the plugins that it is configured to run?

The reason I ask.....We use WMI for windows monitoring, however there are a couple servers I want to use NRDS on for monitoring log files using check_logfiles.exe. I can configure it to use that command and it does get sent to the client. However, i want to pass another file to the server, servername.conf that will be a config file the check_logfiles.exe uses to know what to search. So basically, can I automate that or will I have to manually copy that conf file to the server?

Thanks
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDS Question

Post by tmcdonald »

Testing this now, will update with what I find.
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NRDS Question

Post by BanditBBS »

tmcdonald wrote:Testing this now, will update with what I find.
I accidentally tested(LOL) and looks like it only sends the files that it is configured to send. So I think that means I'll have to manually copy that conf file to the server(s). Please let me know if you find some trick.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NRDS Question

Post by tmcdonald »

Short of smuggling the text file inside the executable...

I guess in theory you could configure it to "run" the "plugin" and just enter in the file name, but I can't say how well this will work. My NRDS is borked from some weird testing I had to do earlier in the year.
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NRDS Question

Post by BanditBBS »

tmcdonald wrote:Short of smuggling the text file inside the executable...

I guess in theory you could configure it to "run" the "plugin" and just enter in the file name, but I can't say how well this will work. My NRDS is borked from some weird testing I had to do earlier in the year.
Well, I guess that's yet another feature request for me to put in: http://tracker.nagios.com/view.php?id=500
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: NRDS Question

Post by BanditBBS »

I tested setting up a dummy command that I just wouldn't utilize in Nagios just to send that file over, no go! :(

It copied the file but also opened it up in a text editor since it tried to 'run' it. Bah.....looks like I will definitely have to manually keep that file updated(At least until my newest feature request gets added, lol).
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS Question

Post by lmiltchev »

Bah.....looks like I will definitely have to manually keep that file updated(At least until my newest feature request gets added, lol).
Hopefully it is not going to be very difficult to implement this functionality. :D
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked