ah got it
glpi/front/crontask.form.php?id=54
ah got it
glpi/front/crontask.form.php?id=54
I managed to get the Network Discovery Task into 'Prepared/Not Done yet stage' but I'm not sure when it'll actually run, as the start date is already passed when I went into TaskScheduler and force it.
Checking out the Agent, it didn't say that it has received the instruction from the server and will do a Network Discovery too.. so, I'm still a bit uncertain over the exact steps to get it working, will still appreciate some help.
Thanks
maybe some issues with firewall?
Ok, let me retrace the steps taken, and maybe you can advice
I have 2 machines with Network Inventory/Discovery installed. Let's call them A and B, both has the necessary port opened, and both can run Computer Inventory just fine. Machine A is the GLPI server itself, B is my laptop
0) in General Setup, Agents Module, I have added one of the A into the Exception list for Network Discovery and Inventory (I'm not too sure if I should add it in or not, since it says 'EXCEPTION' which means that whatever client I add, will be excluded from performing this task? Either way, since I have 2 machines A and B, I believe that the Network Discovery task should at least be executed by machine B in the case that I did 'Excluded' machine A in this step)
1) in Task Management, I created a Task which is Active, start date 1-12-2014, end date 31-12-2040, timeslot is 24 hours a day, 7 days a week. (I understand that this should be similar to an allowed time zone for the Job to execute right? For my case, I set it to all possible time)
2) in Job Configuration, I created a Job, target is my LAN 192.168.x.1 until 192.168.x.254, Actors, I choose both machines A and B which I've installed NetworkInventory/Discovery, module method, I choose Network Discovery
3) And now, I go into Setup > Automatic Actions, I run Task Scheduler, Run frequency= 20 minutes, Status= Scheduled, Run Mode= CLI, Run Period= 0 to 24, Number of Days this action log are stored=30. But for now, I just press the execute to force it run immediately?
4) Pressing Execute will add the Task into the 'Prepared' status. With both machine A and B saying it's Prepared.
5) Opening the fusion inventory Agent webpage on machine A and B, CurrentStatus=Waiting, there's a Force and Inventory link, Next server target execution is next for tomorrow, but I suspect that's for Computer Inventory, rather than Network Discovery.
I'm a bit stuck here, can anyone help?
I remember in GLPI 0.84, whenever I force start a job, in the Agent, it says it's scheduling a Network Discovery task and I can confirm that the Agent received the command from GLPI server, however in this new version, I can't even confirm if the command was received by the agent.
Wait... i did get a log from Machine A which is in the Exception list.
This is what it says..
[Wed Jan 7 06:52:45 2015][debug] forking process -3992 to handle task NetDiscovery
[Wed Jan 7 06:52:45 2015][debug] NetDiscovery task execution not requested
[Wed Jan 7 14:09:33 2015][debug] [http server] request / from client 127.0.0.1
[Wed Jan 7 14:09:33 2015][debug] [http server] response status 200
[Wed Jan 7 14:09:34 2015][debug] [http server] request /logo.png from client 127.0.0.1
[Wed Jan 7 14:09:34 2015][debug] [http server] response status 200
[Wed Jan 7 14:09:35 2015][debug] [http server] request /site.css from client 127.0.0.1
[Wed Jan 7 14:09:35 2015][debug] [http server] response status 200
Under GLPI > Fusion Inventory > Networking > Discovery Status.
I can see 2 jobs queued, (one for A and B) status=prepared, but there's no start date.
1) => leave empty for start and end and timeslot is you want execute all time
2) => don't forget define SNMP auth in the IP Range
The order the server send to agent is missing, we're working to add it quickly
Ok, thank you. I'll wait for the next version to arrive before I start trying it again.
Thank you~~
suhosin[1344]: ALERT - script tried to disable memory_limit by setting it to a negative value -1 bytes which is not allowed (attacker '127.0.0.1', file '/usr/share/glpi/plugins/fusioninventory/front/communication.php', line 44)
Any why to disable fi to try to setting the memory_limit to infinite?
Because when inventory very big switch, the plugin require many and many memory
Because when inventory very big switch, the plugin require many and many memory
OK, but it is not possible to specify many many? e.g. 512M or such possibilities?
Looks like glpi/fi doubles my versions by "uninstalling" and "reinstalling"
Is it possible to merge versions to not loosing the history?
Not see the image
1. Is it possible to setup in which Entity software get imported? E.g. computer is in Ent1 > Subent 1, is it possible to import the used software to Ent1?
2. Is it possible to enable Child entities for imported software by default?
3. If I have a software in Ent1 with childentities enabled, will a newly imported inventory uses this entry or create a new one in Subent1?
And finally (possible no FI question):
How can i merge softwares?
Thanks a lot,
meg
Not see the image
What did you see? I can see it on multiple devices, no problems
Some interesting issue/part, when I transfer the software from one entity to another, the redundant versions will be removed. And also the old versions (even when setting to preserve/keep all data)
Didn't know if this functionality is part of FI or GLPI.
1. yes in entity config, you have "asset" tab and a select to define on what entity you want to create the software
2. I think in software dictionnary
3. It may use this (to test it)
For merge, go in software form and define it as recursive (for entities) and you will have a new tab appear and propose to merge software on under entities with same name
Hi,
Actually the only way to inventory a computer is to install an agent on it, it's not possible via SNMP. This functionality will exist one day, but it's unplanified yet.
It should be possible to compile the source code for Qnap and Synology because their firmware is Busybox. I've just begun to try to make a module for Synology with spksrc, but I'm stuck because the documentation is really light... Maybe one day.
1. yes in entity config, you have "asset" tab and a select to define on what entity you want to create the software
All enties are set to "inheritance of the parent entity". But Software is created within the subentity
E.g. scanning a computer in "Ent1 > subent1 > subsubent1" the software is created in "Ent1 > subent1 > subsubent1"
Have set it static to Ent1. Will see if this will work.
2. I think in software dictionnary
I can set that every software will assigned to the main entity, but I didn't find any possiblity to set these flag
For merge, go in software form and define it as recursive (for entities) and you will have a new tab appear and propose to merge software on under entities with same name
Perfect, thanks a lot.
Hello,
Sorry for posting so much questions, but I cannot find answers anywhere else...
I have switches SG-300 series.
It'd been queried snmp multiple times with partially success.
Some of ports are properly connected with computers, but some of them are not recognized.
First, where connection between switch and PC is recognized? On FIA side or by SNMP query?
I'm asking because I don't know why some of the connections are detected and most of them are not detected and where to look for incorrect config - switch, PC FIA config, firewall in FIA?
Hello, I have exactly the same problem. Netdiscovery is running fine. It is discovering my printers and inserts them in Assets->Printers. But then when I would like to run the Network inventory, the only thing I get is a "Reinitialization" button. I can do whatever I want that is the only reaction I get. It seem that I'm missing something. I searched for a solution but could not find anything. I got the same PHP errors with the 2.2 version, but they vanished with the 3.5 version. So I'm using 0.84+3.5 with fusioninventory-agent-2.3.12.
PLEASE HELP