Question

[WSUS plugin] - Unknown: 500 read Timeout

  • 15 April 2024
  • 4 replies
  • 29 views

Badge +3

Bonjour The Watch,

Depuis quelques semaines je suis confronté à un problème épineux et je ne trouve pas de réponse satisfaisante, ou alors je m’y prends mal 😅.

Je cherche à superviser un Serveur WSUS pour obtenir ce que le plugin permet (https://docs.centreon.com/fr/pp/integrations/plugin-packs/procedures/applications-wsus-nsclient/)

Or, a priori l’installation du plugin côté Poller est OK. Le NS Client côté WSUS semble OK. Et pourtant :

ou si vous préférez :

Je suis un peu dans l’impasse, merci de votre aide.
 

Bien cordialement,

Vincent
 


4 replies

Userlevel 4
Badge +13

have you followed this:

 

https://docs.centreon.com/pp/integrations/plugin-packs/getting-started/how-to-guides/centreon-nsclient-tutorial/#webserver--restapi

 

🤔

 

 

Badge +3

Hello @ponchoh ,

Yes, and I also try to launch the plugin on the WSUS Server to verfiy if everything was OK. The result of the command :

C:\Users\Administrator>"C:\Program Files\Centreon NSClient++\scripts\centreon\centreon_plugins.exe" --plugin "apps::wsus::local::plugin" --mode=updates-status --wsus-server="127.0.0.1" --wsus-port="8531" --filter-counters="" --warning-with-client-errors="" --critical-with-client-errors="" --warning-with-server-errors="" --critical-with-server-errors="" --warning-needing-files="" --critical-needing-files="" --warning-needed-by-computers="" --critical-needed-by-computers="" --warning-up-to-date="" --critical-up-to-date="" --verbose
UNKNOWN: Cannot load module --plugin.
Can't locate apps/wsus/local/plugin.pm in @INC (you may need to install the apps::wsus::local::plugin module) (@INC contains: C:/Program Files/Centreon NSClient++/scripts/centreon C:\Users\ADMINI~1\AppData\Local\Temp\3\par-41646d696e6973747261746f72\cache-813547c9571a985ce3260afc238c989466eb7ec1\inc\lib C:\Users\ADMINI~1\AppData\Local\Temp\3\par-41646d696e6973747261746f72\cache-813547c9571a985ce3260afc238c989466eb7ec1\inc CODE(0x37288e8) CODE(0x3728ae0)) at C:\Users\ADMINI~1\AppData\Local\Temp\3\par-41646d696e6973747261746f72\cache-813547c9571a985ce3260afc238c989466eb7ec1\inc\lib/centreon/plugins/misc.pm line 223.

😳

Userlevel 4
Badge +13
PS C:\Program Files\Centreon NSClient++\scripts\centreon> .\centreon_plugins.exe --plugin="apps::microsoft::wsus::local::plugin" --list-mode

Plugin Description:
Check WSUS through powershell.

Global Options:
--mode Choose a mode.

--dyn-mode
Specify a mode with the path (separated by '::').

--list-mode
List available modes.

--mode-version
Check minimal version of mode. If not, unknown error.

--version
Display plugin version.

--pass-manager
Use a password manager.

Modes Meta:
multi

Modes Available:
computers-status
server-statistics
synchronisation-status
updates-status

 

Note

 

"apps::microsoft::wsus::local::plugin”

Badge +3

Hi @ponchoh ,

Thanks a lot, I will try the command properly.

Reply