centreon / centreon-nsclient-build

Source use to build the centreon NSClient agent
19 stars 3 forks source link

[os::windows::local::plugin] mode=list-storages - Use of uninitialized value in subroutine #26

Closed joschi99 closed 4 years ago

joschi99 commented 4 years ago

Tested with Plugin version 20200803 and 20201008

C:\Users\Administrator\Desktop\centreon_plugins.exe --plugin=os::windows::local::plugin --mode=list-storages --disco-show
Use of uninitialized value in subroutine entry at C:\Users\ADMINI~1\AppData\Local\Temp\2\par-41646d696e6973747261746f72\cache-7a0161dff2ed6330ffd6cada04bd0511adbd08bc\inc\lib/XML/LibXML.pm line 1649.
Use of uninitialized value in subroutine entry at C:\Users\ADMINI~1\AppData\Local\Temp\2\par-41646d696e6973747261746f72\cache-7a0161dff2ed6330ffd6cada04bd0511adbd08bc\inc\lib/XML/LibXML.pm line 1649.
Use of uninitialized value in subroutine entry at C:\Users\ADMINI~1\AppData\Local\Temp\2\par-41646d696e6973747261746f72\cache-7a0161dff2ed6330ffd6cada04bd0511adbd08bc\inc\lib/XML/LibXML.pm line 1649.
<?xml version="1.0" encoding="utf-8"?>
<data>
  <label type="localDisk" size="53092544512" free="20984086528" name="C:" desc=""/>
  <label type="compactDisc" name="D:" desc="" free="" size=""/>
</data>
garnier-quentin commented 4 years ago

Could you provide the result with --ps-exec-only ?

garnier-quentin commented 4 years ago

i think i only need to protect it

garnier-quentin commented 4 years ago

The change is done: https://github.com/centreon/centreon-plugins/pull/2276

joschi99 commented 4 years ago

To fast for my answer:-) If you done some test and works without errors.

Thanks