NRDS plugin download issue with Windows 2019

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
llc
Posts: 10
Joined: Wed Mar 21, 2018 4:01 am

NRDS plugin download issue with Windows 2019

Post by llc »

Hello,

I have a new host under Windows Server 2019.
I installed NRDS like on my other servers (Windows Server 2016).

On the 2019 host, NRDS download the config but not the plugins (empty folder).
If I look into the logs (C:\Program Files\Nagios\NRDS_Win\logs), I can't see any error.

How can I fix that ?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS plugin download issue with Windows 2019

Post by lmiltchev »

Did you place your plugin in the correct, and set its permissions according to the document below?

https://assets.nagios.com/downloads/nag ... DS-Win.pdf

Can you show us the permissions of the plugin on your Nagios XI system:

Code: Select all

ls -la /usr/local/nrdp/plugins/Windows/<your plugin>
and the command this plugin is added to in the NRDS Config Manager?
Be sure to check out our Knowledgebase for helpful articles and solutions!
llc
Posts: 10
Joined: Wed Mar 21, 2018 4:01 am

Re: NRDS plugin download issue with Windows 2019

Post by llc »

It's just some basic plugins.
I have a lot of Windows server (2012R2 and 2016) and i don't have any NRDS issues with these, all is fine.
But with the only server under Windows 2019, no plugin is downloaded.


Permissions in my Nagios XI system (/usr/local/nrdp/plugins/Windows/) :

Code: Select all

-rwxrwxr-x 1 nagios nagios     508 Jul 16 10:35 check_cpu.ps1
-rwxrwxr-x 1 nagios nagios 1306708 Jul 16 10:35 check_pdm.exe
-rwxrwxr-x 1 nagios nagios 1220692 Jul 16 10:35 check_winping.exe
-rwxrwxr-x 1 nagios nagios 1220692 Jul 16 10:35 check_winprocess.exe
Commands in the NRDS manager :

Code: Select all

command[__HOST__] = $PLUGIN_DIR$\check_winping.exe -H 127.0.0.1 --warning 200,40% --critical 400,80%
command[Processes] = $PLUGIN_DIR$\check_winprocess.exe --warning 150 --critical 180
command[CPU Load] = $PLUGIN_DIR$\check_cpu.ps1 -w 70 -c 90
command[Disk Space] = $PLUGIN_DIR$\check_pdm.exe --disk --drive C: -w 95 -c 99
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS plugin download issue with Windows 2019

Post by lmiltchev »

Is "Task Scheduler" running on the Windows server? Can you "force" the task by clicking on the "Run" action button? Do plugins get updated when you run the task manually? Do you see any new output in the NRDS_Debug.log after forcing the task?

Does it help if you select the "Run with highest privileges" check-box under the "General" tab?
Be sure to check out our Knowledgebase for helpful articles and solutions!
llc
Posts: 10
Joined: Wed Mar 21, 2018 4:01 am

Re: NRDS plugin download issue with Windows 2019

Post by llc »

The task scheduler is running on the server.

If i force a manual Run of the task, i don't see any new output in NRDS_Debug.log.
Even if I select the "Run with highest privileges" check-box, it's the same.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS plugin download issue with Windows 2019

Post by lmiltchev »

Have you looked into the Windows Event Viewer? Perhaps you would find some clues there.

Open the "Task Scheduler", select your task, and go to the "History" tab. Do you see any errors? Did the task complete successfully? Can you provide us with screenshots of each tab - General, Trigers, Actions, Conditions, Settings, and History?
Be sure to check out our Knowledgebase for helpful articles and solutions!
llc
Posts: 10
Joined: Wed Mar 21, 2018 4:01 am

Re: NRDS plugin download issue with Windows 2019

Post by llc »

Yes I looked into the event viewer but i found no clue.

I don't see error on the history tab of the task.

I put in attachment the screenshots you asked.
You do not have the required permissions to view the files attached to this post.
llc
Posts: 10
Joined: Wed Mar 21, 2018 4:01 am

Re: NRDS plugin download issue with Windows 2019

Post by llc »

Here is the others screenshots.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NRDS plugin download issue with Windows 2019

Post by lmiltchev »

All of the settings seems to be fine. Nothing should be causing an issue as far as I can tell. Can you post the config.ini and NRDS_Debug.log file on the forum?
Be sure to check out our Knowledgebase for helpful articles and solutions!
llc
Posts: 10
Joined: Wed Mar 21, 2018 4:01 am

Re: NRDS plugin download issue with Windows 2019

Post by llc »

This is the files you requested.

I have replaced the name of the server, the domain of nagios and our token by fake values.
You do not have the required permissions to view the files attached to this post.
Locked