[Fusioninventory-user] Really, really, i don't understand how SNMP works...

Marco Gaiarin gaio at sv.lnf.it
Thu Jul 5 16:23:09 UTC 2012


Mandi! Guillaume Rousse
  In chel di` si favelave...

> >Agent?! But the ''server'' (GLPI) part use the agent for net/snmp
> >discovery?!
> I guess you just understood why you didn't achieved anything sofar

A-ha! Better later then ever... ;-)))


> :) The server part is just a control and collect point for agent
> execution, it doesn't perform any task by itself.

Ok. I've grabbed thru php code, and not founding a single 'exec()'
function i supposed also that GLPI does not exec the agent, but use an
agent (via the internel protocol, via TCP/IP) to do a SNMP discovery.
I have all my agents running on cron, so clearly there's no agent
running. ;)

This indeed explain me the 'Auto management dynamic of agent': by
default GLPI polls for every registered agent and use a random agent to
do discovery (probably to share load). Right?

So i've started the agent as a daemon on the same server that run GLPI
and ''lock'' the agent choice to the only agent running.

Now, if i start a task, at least end with status OK, but still does not
work, eg, there's no SNMP data catched.
A 'discovery' task still does not work (return error).


> I explicitely mentioned 'developement version', which is not even
> released yet, not even packaged.

Ok, but windows is just on 2.2: i can use a windows agent to make some
test? I'm a bit scared to do a manual installation...


Thanks.

-- 
dott. Marco Gaiarin				    GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it	  tel +39-0434-842711  fax +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the Fusioninventory-user mailing list