Dear FusionInventory-Team,<br><br>thank you for providing such a great piece of software. While deploying the Agent into our environment I had to make several enhancements/corrections which I wanted to give back (against Version 2.1.10):<br>

<br>fusioninventory-win32-service.patch:<br>Correcting the name of a utilized function of the <span style="font-family:courier new,monospace">Win32::Daemon</span> package from <span style="font-family:courier new,monospace">LastControlMessage()</span> to <span style="font-family:courier new,monospace">QueryLastMessage()</span>.<br>


The change in the underlying package seems to have happened in version 20101014 and is still current (<a href="http://cpansearch.perl.org/src/JDB/Win32-Daemon-20110117/Changes" target="_blank">http://cpansearch.perl.org/src/JDB/Win32-Daemon-20110117/Changes</a>).<br>


<br>solaris-plugins-zonename.patch:<br>While calling <span style="font-family:courier new,monospace">zonename</span> to detect the zone-type, a newline-char (outputted by <span style="font-family:courier new,monospace">zonename</span>) prevents the correct detection.<br>


The proposed patch sanitizes the output of <span style="font-family:courier new,monospace">zonename</span> by piping its output into <span style="font-family:courier new,monospace">tr -d [[:cntrl:]]</span>.<br>Affected solaris-plugins: <span style="font-family:courier new,monospace">CPU</span><span style="font-family:courier new,monospace"></span>, <span style="font-family:courier new,monospace">Bios</span>, <span style="font-family:courier new,monospace">Memory</span>, <span style="font-family:courier new,monospace">Networks</span><br>


<br>solaris-network-plugin.patch:<br>While checking the autospeed-status of a bge network-adapter, the called system-app (<span style="font-family: courier new,monospace;">ndd</span>) seems to be given bogus variables, which prevents correct detection. The proposed patch aligns the variables of the affected call with the rest of the plugin.<br>

<br>CPU.pm:<br>In our solaris-environment, the current CPU-plugin had severe problems detecting the correct values. The proposed patch exchanges the whole <span style="font-family: courier new,monospace;">memconf</span>-based plugin for a <span style="font-family: courier new,monospace;">kstat</span>-based plugin. As an added benefit, the plugin-size and complexity is severely shrunk.<br>


<br>The respective patches have been tested on:<br>- Windows 2003 R2/2008<br>- Solaris 10: x86/SPARC, global/local zone<br><br>I'd love to hear your feedback and would be thankful for including these proposed patches.<br>

Please notify me if I could be of any assistance.<br>
<br>Best regards,<br>Oliver Tuschhoff<br><br>-- <br><font style="font-family:verdana,sans-serif" size="1"><font size="2"><span style="color:rgb(51, 51, 51)">Oliver Tuschhoff - Beratung und Training</span></font><br style="color:rgb(102, 102, 102)">


<span style="color:rgb(102, 102, 102)">Steinackerstr. 17, 64285 Darmstadt</span><br style="color:rgb(102, 102, 102)"><span style="color:rgb(102, 102, 102)">Tel.:      +49 176 2378 0610</span><br style="color:rgb(102, 102, 102)">


<span style="color:rgb(102, 102, 102)">E-Mail:  </span><a style="color:rgb(102, 102, 102)" href="mailto:mail@oliver-tuschhoff.de" target="_blank">mail@oliver-tuschhoff.de</a><br style="color:rgb(102, 102, 102)"><span style="color:rgb(102, 102, 102)">Skype:  oliver.tuschhoff<br>


URL:     <a href="http://www.oliver-tuschhoff.de" target="_blank">www.oliver-tuschhoff.de</a><br></span></font><br>