Page 1 of 1

NRDS Question

Posted: Tue Feb 11, 2014 12:00 pm
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

Re: NRDS Question

Posted: Tue Feb 11, 2014 2:31 pm
by tmcdonald
Testing this now, will update with what I find.

Re: NRDS Question

Posted: Tue Feb 11, 2014 3:37 pm
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.

Re: NRDS Question

Posted: Tue Feb 11, 2014 4:56 pm
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.

Re: NRDS Question

Posted: Tue Feb 11, 2014 7:06 pm
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

Re: NRDS Question

Posted: Wed Feb 12, 2014 9:28 am
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).

Re: NRDS Question

Posted: Wed Feb 12, 2014 11:25 am
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