2010/12/23 Laurent Espitallier <span dir="ltr">&lt;<a href="mailto:laurent.espitallier@laposte.net">laurent.espitallier@laposte.net</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  
    
  
  <div bgcolor="#ffffff" text="#000000">
    Le 23/12/2010 21:32, Gonéri Le Bouder a écrit :
    <div><div></div><div class="h5"><blockquote type="cite">2010/12/23 Laurent Espitallier <span dir="ltr">&lt;<a href="mailto:laurent.espitallier@laposte.net" target="_blank">laurent.espitallier@laposte.net</a>&gt;</span><br>

      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
          Hello,<br>
          <br>
          I&#39;d like to write for my company needs some specific plugins
          to extend Fusion<br>
          Inventory Windows Agent.<br>
          <br>
          I believe I must write them in Perl ? Where must I store the
          script ? How to<br>
          enable it ?<br>
          <br>
          In fact is there an &quot;Hello World&quot; tutorial to add a software
          entry to the<br>
          inventory for example ?<br clear="all">
        </blockquote>
        <div><br>
          Hi laurent,<br>
          <br>
          What kind of changes do you need?<br>
          <br>
          Happy chrismas,<br>
        </div>
      </div>
      -- <br>
           Gonéri Le Bouder<br>
    </blockquote>
    <br></div></div>
    I&#39;d like to check for directories, shortcuts or other files revelant
    of some business applications but not in the registry.<br></div></blockquote><div>Ok, do you plan to create new section in the XML for that? I attached an example of script to detect a software. I suggest you to take a look on the full /FusionInventory/Agent/Task/Inventory/OS hierarchy. The script are not hard<br>
to understand IMO.<br>Here you will find the XML format and the &quot;$inventory object&quot; documentation:<br><a href="http://search.cpan.org/~fusinv/FusionInventory-Agent-2.1.7/lib/FusionInventory/Agent/XML/Query/Inventory.pm">http://search.cpan.org/~fusinv/FusionInventory-Agent-2.1.7/lib/FusionInventory/Agent/XML/Query/Inventory.pm</a><br>
 <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff" text="#000000">
    <br>
    I&#39;d also like to execute regularly some tasks like checking the last
    computer logon time and reboot it if necessary, but I dont want to
    use the task scheduler for that.<br></div></blockquote><div>Indeed, that&#39;s something you can do with OCS. But, psexec (or winexec) can be here a much simpler alternative in some case. It depends on the number of machine you want to manage.<br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff" text="#000000">
    <br>
    Maybe there are some better practices. My server is an OCS inventory
    NG 1.3.2<br></div></blockquote><div>If you add new information in the XML, you will need to patch OCS.<br> </div><div>For the record, in the coming week, we will release the plugin for GLPI 0.78. With it, you&#39;ll be able to<br>
bypass OCS server and so simplify the requirement needed to add new information in the inventory.<br><br>Best regards, <br></div></div>-- <br>     Gonéri Le Bouder<br>