Talk:OCS Inventory Tools

From SME Server
Revision as of 09:06, 8 November 2007 by Snoble (talk | contribs) (→‎glpi)
Jump to navigationJump to search

ipdiscover bug

We need to confirm that ipdiscover works when the smeserver is the forced client.

I Tried the following:

ipdiscover eth0 10
Important.png Note:
Usage : ipdiscover [iface name] [latency in ms]


Here's what I got on my server:

<IPDISCOVER>
<H>192.168.0.100<M>00:xx:xx:xx:xx:xx</M><N>pc-00100.mydomain.com</N></H>
<H>192.168.0.253<M>00:xx:xx:xx:xx:xx</M><N>pc-00253.mydomain.com</N></H>
<H>192.168.0.254<M>00:xx:xx:xx:xx:xx</M><N>pc-00254.mydomain.com</N></H>
</IPDISCOVER>

Sounds like it's working for me... But IpDiscover discovers nothing when launched by SME OCS' Agent. There must be a problem here!

Windows Agent don't have this problem...

Cool34000


deployment

deletion bug

When you delete a package, ocs complains, but it deletes the files anyway, document later

Stefen


The only way I was able to reproduce an error on package deletion is when I refreshed the page (as files were already removed, I got an error)

Could you be more clear on this bug? How did it happened?

Cool34000


Upload size limit

Must document that on the Wiki:

Max allowed packet value is set to 50M with a custom-template by the RPM.
This should allow to upload comfortable package size.
I didn't test to upload such file size to confirm this is working as expected...
=> can we really upload files greater than 10MB?
=> if yes, what happens at 50.1MB (just curious lol)
=> impact of setting such large value on the server?
=> create a DB entry in ocs to set this value and improve the custom-template to allow dynamic changes? This can't be bad! 
=> lower this value maybe?

Cool34000


glpi

a minor change, don't release an rpm just for this

/glpi is hard to remember

can we add a duplicate alias, eg /reports

or make a URL db setting so it is configurable

http://wiki.contribs.org/Web_Application_RPM#Webserver_templates

{
  if (exists $foo{'URL'})
  { $OUT .= "Alias  /$foo{'URL'}  /opt/foo\n"; }
}

Stefen


NP, I'll add this improvement in the next release. Do you want this for OCS too?

=> Is there a way to improve your code to test before using the alias that it will not override an existing one?

I will also set 'ocsinventory' and 'ocsinterface' as 'url' types to avoid using these virtual locations ;-) (forgot these ones!)

By the way, it's not so hard to remember: GLPI means Gestion Libre de Parc Informatique :-D

Very easy to remember... For a French guy!

Cool34000


ocs is ok, but maybe give it a URL db for completness,

as the fragment is last in httpd overwriting another value isn't a problem, the point is valid but the only thing that will happen in one of the local sites won't be visible

stephen