• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Task management force running on network discovery has error
#1
Tried task manager force running for netdiscovery and snmp inventory and get not results.


Log file from /var/www/html/glpi/files/_log
Test
2011-08-17 14:19 [2@lenny.karzsys.com]
Notice(8): Undefined index: id
Backtrace :
/var/www/html/glpi/plugins/fusioninventory/front/taskjob.form.php:278 userErrorHandlerNormal()

2011-08-17 14:19 [2@lenny.karzsys.com]
Notice(8): Undefined index: id
Backtrace :
/var/www/html/glpi/plugins/fusioninventory/inc/taskjob.class.php:152 userErrorHandlerNormal()
/var/www/html/glpi/plugins/fusioninventory/inc/wizard.class.php:186 PluginFusioninventoryTaskjob->showForm()
/var/www/html/glpi/plugins/fusioninventory/inc/wizard.class.php:631 PluginFusioninventoryWizard::displayShowForm()
/var/www/html/glpi/plugins/fusioninventory/front/wizard.php:56 PluginFusioninventoryWizard::w_tasksforcerun()

http error log
/var/www/html/favicon.ico
[Wed Aug 17 14:25:12 2011] [error] [client 192.168.101.10] PHP Warning: error_log(../files/_log/php-errors.log) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: No such file or directory in /var/www/html/glpi/inc/common.function.php on line 241, referer: http://192.168.101.55/glpi/plugins/fusio...t/task.php
[root@lenny httpd]#
  Reply
#2
Have you a screenshot of the task (in the tab : action 1) ?
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#3
I emailed them to you.
Did not know how to post it here.
  Reply
#4
This is similar to the ip address range thing. When I was running the tar ball it tried to do it but got errors. Now it just goes to the next screen with no action.
  Reply
#5
Here is the diff on the snmp directory between tarball and repository
wish@wish-desktop:~/Downloads/test$ diff fusinvsnmp ../fusinvsnmp
Common subdirectories: fusinvsnmp/ajax and ../fusinvsnmp/ajax
Common subdirectories: fusinvsnmp/docs and ../fusinvsnmp/docs
Common subdirectories: fusinvsnmp/front and ../fusinvsnmp/front
Only in fusinvsnmp: .git
Common subdirectories: fusinvsnmp/inc and ../fusinvsnmp/inc
Common subdirectories: fusinvsnmp/install and ../fusinvsnmp/install
Common subdirectories: fusinvsnmp/locales and ../fusinvsnmp/locales
Common subdirectories: fusinvsnmp/models and ../fusinvsnmp/models
Common subdirectories: fusinvsnmp/pics and ../fusinvsnmp/pics
Common subdirectories: fusinvsnmp/report and ../fusinvsnmp/report
diff fusinvsnmp/setup.php ../fusinvsnmp/setup.php
153a154
> //OR PluginFusioninventoryProfile::haveRight("fusinvsnmp", "iprange","r")
194a196,198
>
> $PLUGIN_HOOKS['submenu_entry']['fusioninventory']['options']['iprange']['title'] = $LANG['plugin_fusinvsnmp']['menu'][2];
> $PLUGIN_HOOKS['submenu_entry']['fusioninventory']['options']['iprange']['page'] = '/plugins/fusinvsnmp/front/iprange.php';
Common subdirectories: fusinvsnmp/tool and ../fusinvsnmp/tool
wish@wish-desktop:~/Downloads/test$


Here is the diff on the fusinvinventory directory
wish@wish-desktop:~/Downloads/test$ diff fusinvinventory ../fusinvinventory
Common subdirectories: fusinvinventory/ajax and ../fusinvinventory/ajax
Common subdirectories: fusinvinventory/b and ../fusinvinventory/b
Only in fusinvinventory: datafilter
Common subdirectories: fusinvinventory/front and ../fusinvinventory/front
Only in fusinvinventory: .git
Common subdirectories: fusinvinventory/inc and ../fusinvinventory/inc
Common subdirectories: fusinvinventory/install and ../fusinvinventory/install
Common subdirectories: fusinvinventory/locales and ../fusinvinventory/locales
Common subdirectories: fusinvinventory/pics and ../fusinvinventory/pics
wish@wish-desktop:~/Downloads/test
  Reply
#6
I was just looking at the setup plugins fusioninventory general tab and noticed that all the agent modules except wake on lan are on the page twice.
I did a query on the table and it shows this:


mysql> select * from glpi_plugin_fusioninventory_agentmodules
-> ;
+----+------------+--------------+-----------+------------+-------------+-----------------------------------------------------------+
| id | plugins_id | modulename | is_active | exceptions | entities_id | url |
+----+------------+--------------+-----------+------------+-------------+-----------------------------------------------------------+
| 1 | 7 | WAKEONLAN | 0 | [] | -1 | |
| 2 | 2 | INVENTORY | 1 | ["0"] | -1 | |
| 3 | 2 | ESX | 0 | [] | -1 | http://192.168.101.55/glpi/plugins/fusin...tory/b/esx |
| 4 | 3 | SNMPQUERY | 1 | ["3"] | -1 | |
| 5 | 3 | NETDISCOVERY | 1 | [] | -1 | |
| 6 | 5 | INVENTORY | 1 | [] | -1 | |
| 7 | 5 | ESX | 0 | [] | -1 | http://192.168.101.55/glpi/plugins/fusin...ory/b/esx/ |
| 8 | 6 | SNMPQUERY | 0 | [] | -1 | |
| 9 | 6 | NETDISCOVERY | 0 | [] | -1 | |
+----+------------+--------------+-----------+------------+-------------+-----------------------------------------------------------+
9 rows in set (0.00 sec)

mysql>
  Reply
#7
arg Sad

uninstall all fusioninventory plugins and reinstall all
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#8
Went back to the tar all and did not get any error messages.
The scans started running but never finished.
Turns out I was looking for the problem on the wrong end.
A serious case of RCI (Rectal Cranial Inversion)
I am running the client on Ubuntu and "Assumed" that all the dependencies were there because I installed it from apt-get install.
I saw the other post here with the install script and made sure all the dependencies were there and made sure all of them were installed.
Now the net discovery scan runs. It seems to take a while but I can watch the progress on the server end and see the processes running on the agent machine. Yahoo.

The packaging is out of my realm of knowledge but I thought Ubuntu installed all the dependencies like doing a yum install on Centos. So if the client is missing a required package it looks like the server side will sit there until the cows come home.

The snmp inventory runs but immediately gives this respone:No devices to inventory.

I will look at the dependencies on this one also.

Thanks for the help.
  Reply
#9
No devices to inventory is because in GLPI you may have a printer or network device with IP, SNMP model and SNMP authentication
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#10
I have a similar problem with my installation:
SERVER
WITH GLPICentos 5.6 (custom via FAN distribution http://fannagioscd.sourceforge.net/). I have added REMI repository with EPEL.
glpi-0.78.5-3.svn14966.el5
glpi-reports-1.4.0-1.el5.remi
glpi-webservices-1.0.0-1.el5.remi
glpi-fusioninventory-2.3.6-1.el5.remi
glpi-mass-ocs-import-1.4.2-1.el5.remi
glpi-fusioninventory-2.3.6-1.el5.remi
fusioninventory-agent-2.1.9-1
fusioninventory-agent-yum-plugin-2.1.9-1
perl-FusionInventory-Agent-Task-SNMPQuery-1.3-1.el5.remi
perl-FusionInventory-Agent-Task-NetDiscovery-1.5-2.el5.remi

AGENT ON ANOTHER PC (the agent on the server don't run the NetDiscovery)
Source installation of 2.1.9 agent and TASK SNMP, NetDiscovery
Now i have the netdiscovery running well but the SNMP Query don't retrieve results.
Dont' recognize the model of my cisco switch 2960.

Here are the log of the agent:



[debug] FusionInventory unified agent for UNIX, Linux, Windows and MacOSX 2.1.9
[debug] Log system initialised (1)
[debug] --scan-homedirs missing. Don't scan user directories
[error] share-dir doesn't existe ()
[debug] vardir: /var/lib/fusioninventory-agent/http:__172.16.10.103_glpi_plugins_fusioninventory_front_plugin_fusioninventory.communication.php
[debug] [http://172.16.10.103/glpi/plugins/fusion...cation.php] Next server contact planned for Tue Aug 30 10:17:55 2011
[debug] No accountinfo file defined
[debug] Account info updated successfully
[debug] [RPC] No static files directory
[debug] FusionInventory Agent initialised
[info] RPC service started at: http://127.0.0.1:62354
[debug] [RPC] 172.16.10.103 request /status
[debug] [RPC] 172.16.10.103 request /status
[debug] [RPC] 172.16.10.103 request /now/SMOBRVGH
[debug] [RPC] 'now' catched
[debug] token is: SMOBRVGH
[debug] token is: KRNINLIU
[debug] Agent is now running
[debug] Compress::Zlib is available.
[debug] token is: KRNINLIU
[debug] sending XML
[debug] =BEGIN=SERVER RET======
[debug] $VAR1 = '<?xml version="1.0" encoding="UTF-8"?>
<REPLY>
<OPTION>
<NAME>SNMPQUERY</NAME>
<PARAM CORE_QUERY="1" THREADS_QUERY="6" PID="115">
</PARAM>
<DEVICE TYPE="NETWORKING" ID="1" IP="172.16.19.147" AUTHSNMP_ID="3" MODELSNMP_ID="361">
</DEVICE>
<AUTHENTICATION ID="1" COMMUNITY="public" VERSION="1" USERNAME="" AUTHPROTOCOL="" AUTHPASSPHRASE="" PRIVPROTOCOL="" PRIVPASSPHRASE="">
</AUTHENTICATION>
<AUTHENTICATION ID="2" COMMUNITY="public" VERSION="2c" USERNAME="" AUTHPROTOCOL="" AUTHPASSPHRASE="" PRIVPROTOCOL="" PRIVPASSPHRASE="">
</AUTHENTICATION>
<AUTHENTICATION ID="3" COMMUNITY="ciesse" VERSION="2c" USERNAME="" AUTHPROTOCOL="" AUTHPASSPHRASE="" PRIVPROTOCOL="" PRIVPASSPHRASE="">
</AUTHENTICATION>
<MODEL ID="361" NAME="7432363">
<GET OBJECT="location" OID=".1.3.6.1.2.1.1.6.0" VLAN="0" LINK="location">
</GET>
<GET OBJECT="firmware" OID=".1.3.6.1.2.1.47.1.1.1.1.9.1001" VLAN="0" LINK="firmware">
</GET>
<GET OBJECT="comments" OID=".1.3.6.1.2.1.1.1.0" VLAN="0" LINK="comments">
</GET>
<GET OBJECT="uptime" OID=".1.3.6.1.2.1.1.3.0" VLAN="0" LINK="uptime">
</GET>
<GET OBJECT="serial" OID=".1.3.6.1.2.1.47.1.1.1.1.11.1001" VLAN="0" LINK="serial">
</GET>
<GET OBJECT="name" OID=".1.3.6.1.2.1.1.5.0" VLAN="0" LINK="name">
</GET>
<GET OBJECT="entPhysicalModelName" OID=".1.3.6.1.2.1.47.1.1.1.1.13.1001" VLAN="0" LINK="entPhysicalModelName">
</GET>
<GET OBJECT="macaddr" OID=".1.3.6.1.2.1.17.1.1.0" VLAN="0" LINK="macaddr">
</GET>
<WALK OBJECT="cdpCacheAddress" OID=".1.3.6.1.4.1.9.9.23.1.2.1.1.4" VLAN="0" LINK="cdpCacheAddress">
</WALK>
<WALK OBJECT="cdpCacheDevicePort" OID=".1.3.6.1.4.1.9.9.23.1.2.1.1.7" VLAN="0" LINK="cdpCacheDevicePort">
</WALK>
<WALK OBJECT="dot1dTpFdbAddress" OID=".1.3.6.1.2.1.17.4.3.1.1" VLAN="1" LINK="dot1dTpFdbAddress">
</WALK>
<WALK OBJECT="ipNetToMediaPhysAddress" OID=".1.3.6.1.2.1.4.22.1.2" VLAN="1" LINK="ipNetToMediaPhysAddress">
</WALK>
<WALK OBJECT="dot1dTpFdbPort" OID=".1.3.6.1.2.1.17.4.3.1.2" VLAN="1" LINK="dot1dTpFdbPort">
</WALK>
<WALK OBJECT="dot1dBasePortIfIndex" OID=".1.3.6.1.2.1.17.1.4.1.2" VLAN="1" LINK="dot1dBasePortIfIndex">
</WALK>
<WALK OBJECT="ipAdEntAddr" OID=".1.3.6.1.2.1.4.20.1.1" VLAN="0" LINK="ipAdEntAddr">
</WALK>
<WALK OBJECT="ifIndex" OID=".1.3.6.1.2.1.2.2.1.1" VLAN="0" LINK="ifIndex">
</WALK>
<WALK OBJECT="ifmtu" OID=".1.3.6.1.2.1.2.2.1.4" VLAN="0" LINK="ifmtu">
</WALK>
<WALK OBJECT="ifspeed" OID=".1.3.6.1.2.1.2.2.1.5" VLAN="0" LINK="ifspeed">
</WALK>
<WALK OBJECT="ifinternalstatus" OID=".1.3.6.1.2.1.2.2.1.7" VLAN="0" LINK="ifinternalstatus">
</WALK>
<WALK OBJECT="iflastchange" OID=".1.3.6.1.2.1.2.2.1.9" VLAN="0" LINK="iflastchange">
</WALK>
<WALK OBJECT="ifinoctets" OID=".1.3.6.1.2.1.2.2.1.10" VLAN="0" LINK="ifinoctets">
</WALK>
<WALK OBJECT="ifoutoctets" OID=".1.3.6.1.2.1.2.2.1.16" VLAN="0" LINK="ifoutoctets">
</WALK>
<WALK OBJECT="ifinerrors" OID=".1.3.6.1.2.1.2.2.1.14" VLAN="0" LINK="ifinerrors">
</WALK>
<WALK OBJECT="ifouterrors" OID=".1.3.6.1.2.1.2.2.1.20" VLAN="0" LINK="ifouterrors">
</WALK>
<WALK OBJECT="ifstatus" OID=".1.3.6.1.2.1.2.2.1.8" VLAN="0" LINK="ifstatus">
</WALK>
<WALK OBJECT="ifPhysAddress" OID=".1.3.6.1.2.1.2.2.1.6" VLAN="0" LINK="ifPhysAddress">
</WALK>
<WALK OBJECT="ifName" OID=".1.3.6.1.2.1.31.1.1.1.1" VLAN="0" LINK="ifName">
</WALK>
<WALK OBJECT="ifType" OID=".1.3.6.1.2.1.2.2.1.3" VLAN="0" LINK="ifType">
</WALK>
<WALK OBJECT="ifdescr" OID=".1.3.6.1.2.1.2.2.1.2" VLAN="0" LINK="ifdescr">
</WALK>
</MODEL>
</OPTION>
<RESPONSE>SEND</RESPONSE>
<PROLOG_FREQ>24</PROLOG_FREQ>
</REPLY>
';
[debug] =END=SERVER RET======
[debug] Module FusionInventory::Agent::Task:Big Grineploy is not installed.
[debug] Module FusionInventory::Agent::Task::OcsDeploy is not installed.
[debug] cmd is: '"/usr/bin/perl" -e "@INC=qw(/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_pe
rl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . ); eval 'use FusionInventory::Agent::Task::Inventory;'; FusionInventory::Agent::Task::Inventory::mai
n();" -- "/var/lib/fusioninventory-agent/http:__172.16.10.103_glpi_plugins_fusioninventory_front_plugin_fusioninventory.communication.php"'
[debug] FusionInventory unified agent for UNIX, Linux, Windows and MacOSX 2.1.9
[debug] Log system initialised (1)
[debug] FusionInventory::Agent::Task::Inventory::WinRegistry ignored
[debug] FusionInventory::Agent::Task::Inventory::WinRegistry ignored
[debug] FusionInventory::Agent::Task::Inventory::IpDiscover::IpDiscover ignored
[debug] FusionInventory::Agent::Task::Inventory::IpDiscover::IpDiscover ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Solaris ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Solaris ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::AIX ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::AIX ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::BSD ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::BSD ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::HPUX ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::HPUX ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::MacOS ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::MacOS ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Win32 ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Win32 ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic::Ipmi ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic::Ipmi ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic::Screen ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic::Screen ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tonguerinters::Cups ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tonguerinters::Cups ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic::Storages::HP ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic::Storages::HP ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging::BSDpkg ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging::BSDpkg ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging::Gentoo ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging::Gentoo ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging:Tongueacman ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging:Tongueacman ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging:Big Grineb ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging:Big Grineb ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging::Slackware ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging::Slackware ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic::Lspci::Videos ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Generic::Lspci::Videos ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs:TongueowerPC ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs:TongueowerPC ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::SPARC ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::SPARC ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::MIPS ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::MIPS ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::m68k ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::m68k ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::Alpha ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::Alpha ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::ARM ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::ARM ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Storages::Adaptec ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Storages::Adaptec ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Storages::ServeRaid ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Storages::ServeRaid ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Storages::Lsilogic ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Storages::Lsilogic ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Storages::3ware ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Storages::3ware ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Network::iLO ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux::Network::iLO ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization:Tonguearallels ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization:Tonguearallels ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::SolarisZones ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::SolarisZones ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::VirtualBox ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::VirtualBox ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Virtuozzo ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Virtuozzo ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Vserver ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Vserver ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Qemu ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Qemu ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Hpvm ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Hpvm ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::VmWareDesktop ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::VmWareDesktop ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::VmWareESX ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::VmWareESX ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Libvirt ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Libvirt ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Xen::XM ignored
[debug] FusionInventory::Agent::Task::Inventory::Virtualization::Xen::XM ignored
[debug] FusionInventory::Agent::Task::Inventory::OS::Linux:Big Grinistro::NonLSB disabled because of a 'runMeIfTheseChecksFailed' in 'FusionInventory::Agent::Task::Inventory::OS::Linux:Big Grinistro::NonLSB'
[debug] Running FusionInventory::Agent::Task::Inventory::AccessLog
[debug] Running FusionInventory::Agent::Task::Inventory:Big GrineviceID
[debug] Running FusionInventory::Agent::Task::Inventory::IpDiscover
[debug] Running FusionInventory::Agent::Task::Inventory::IpDiscover::Nmap
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Big Grinmidecode
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Big Grinmidecode::Battery
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Big Grinmidecode::Bios
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Big Grinmidecode::Memory
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Big Grinmidecode:Tongueorts
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Big Grinmidecode::Slots
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Big Grinmidecode::UUID
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic::Environement
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic::Hostname
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic::Lspci
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic::Lspci::Controllers
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[error] Failed to open /pci.ids
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic::Lspci::Modems
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic::Lspci::Sounds
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging::ByHand
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Tongueackaging::RPM
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic:Tonguerocesses
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic::USB
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Generic::Users
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::i386
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Archs::i386::CPU
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux:Big Grinistro::LSB
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux:Big Grinomains
hostname: Unknown host
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux:Big Grinrives
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Inputs
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::LVM
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Mem
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Network::IPv4
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Network::Networks
[debug] Can't open /sys/class/net/eth0/device/uevent: Permission denied
[debug] Can't open /sys/class/net/eth1/device/uevent: Permission denied
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Sounds
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Storages
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Sys
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Uptime
[debug] Running FusionInventory::Agent::Task::Inventory::OS::Linux::Video
[debug] Running FusionInventory::Agent::Task::Inventory::OcsDeploy
[debug] Running FusionInventory::Agent::Task::Inventory::Virtualization::Vmsystem
[debug] Running FusionInventory::Agent::Task::Inventory::Virtualization::Xen
[debug] Compress::Zlib is available.
[debug] sending XML
[debug] Section HARDWARE has changed since last inventory
[debug] =BEGIN=SERVER RET======
[debug] $VAR1 = '<?xml version="1.0" encoding="UTF-8"?>
<REPLY>
</REPLY>
';
[debug] =END=SERVER RET======
[debug] [task] end of Inventory
[debug] cmd is: '"/usr/bin/perl" -e "@INC=qw(/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_pe
rl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . ); eval 'use FusionInventory::Agent::Task::WakeOnLan;'; FusionInventory::Agent::Task::WakeOnLan::mai
n();" -- "/var/lib/fusioninventory-agent/http:__172.16.10.103_glpi_plugins_fusioninventory_front_plugin_fusioninventory.communication.php"'
[debug] FusionInventory unified agent for UNIX, Linux, Windows and MacOSX 2.1.9
[debug] Log system initialised (1)
[debug] No WAKEONLAN. Exiting...
[debug] [task] end of WakeOnLan
[debug] cmd is: '"/usr/bin/perl" -e "@INC=qw(/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_pe
rl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . ); eval 'use FusionInventory::Agent::Task::SNMPQuery;'; FusionInventory::Agent::Task::SNMPQuery::mai
n();" -- "/var/lib/fusioninventory-agent/http:__172.16.10.103_glpi_plugins_fusioninventory_front_plugin_fusioninventory.communication.php"'
[debug] FusionInventory unified agent for UNIX, Linux, Windows and MacOSX 2.1.9
[debug] Log system initialised (1)
[debug] FusionInventory SNMPQuery module 1.3
[debug] Compress::Zlib is available.
[debug] sending XML
[debug] =BEGIN=SERVER RET======
[debug] $VAR1 = '<?xml version="1.0" encoding="UTF-8"?>
<REPLY>
</REPLY>
';
[debug] =END=SERVER RET======
[debug] sending XML
[debug] =BEGIN=SERVER RET======
[debug] $VAR1 = '<?xml version="1.0" encoding="UTF-8"?>
<REPLY>
</REPLY>
';
[debug] =END=SERVER RET======
[debug] Core 0 - Thread 0 created
[debug] Core 0 - Thread 0 deleted
[debug] sending XML
[debug] =BEGIN=SERVER RET======
[debug] $VAR1 = '<?xml version="1.0" encoding="UTF-8"?>
<REPLY>
</REPLY>
';
[debug] =END=SERVER RET======
[debug] [task] end of SNMPQuery
[debug] cmd is: '"/usr/bin/perl" -e "@INC=qw(/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_pe
rl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . ); eval 'use FusionInventory::Agent::Task::NetDiscovery;'; FusionInventory::Agent::Task::NetDiscover
y::main();" -- "/var/lib/fusioninventory-agent/http:__172.16.10.103_glpi_plugins_fusioninventory_front_plugin_fusioninventory.communication.php"'
[debug] FusionInventory unified agent for UNIX, Linux, Windows and MacOSX 2.1.9
[debug] Log system initialised (1)
[debug] FusionInventory NetDiscovery module 1.5
[debug] No NETDISCOVERY Asked by the server. Exiting...
[debug] [task] end of NetDiscovery
[debug] Module FusionInventory::Agent::Task::ESX is not installed.
[debug] [http://172.16.10.103/glpi/plugins/fusion...cation.php] Next server contact has just been planned for Tue Aug 30 03:50:35 2011
  Reply
#11
Your network device not updated into GLPI?

Try to comment line "local=" in agents.cfg and restart agent
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#12
ddurieux Wrote:Your network device not updated into GLPI?

Try to comment line "local=" in agents.cfg and restart agent
------------------

Thi is my agent config:

basevardir=/var/lib/fusioninventory-agent
tag=cact-admin
server=http://172.16.10.103/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php
debug=1


The network device is not updated in GLPI.
  Reply
#13
humm, enable extra-debug (in configuration of plugins fusioninventory) and post the files plugin.....log from glpi/files/_log/
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#14
ddurieux Wrote:humm, enable extra-debug (in configuration of plugins fusioninventory) and post the files plugin.....log from glpi/files/_log/


I have this log files:

[root@limonitoring01 glpi]# ll /var/lib/glpi/files/
total 108
drwxr-x--- 2 apache root 4096 Aug 25 19:04 _cache
drwxr-x--- 2 apache root 4096 Aug 25 19:04 _cron
drwxr-x--- 2 apache root 4096 Aug 25 19:04 _dumps
drwxr-x--- 2 apache root 4096 Aug 29 14:12 _graphs
drwxr-x--- 2 apache root 4096 Aug 25 19:51 _lock
drwxr-x--- 5 apache root 4096 Aug 29 12:48 _plugins
drwxr-x--- 2 apache root 73728 Aug 29 15:00 _sessions
drwxr-x--- 2 apache root 4096 Jul 24 09:38 _tmp
drwxr-x--- 2 apache root 4096 Jul 24 09:38 _uploads
[root@limonitoring01 glpi]# ll /var/log/glpi
total 944
-rw-r--r-- 1 apache apache 13132 Aug 29 15:00 cron.log
-rw-r--r-- 1 apache apache 1610 Aug 29 04:02 cron.log.1.gz
-rw-r--r-- 1 apache apache 1520 Aug 28 04:02 cron.log.2.gz
-rw-r--r-- 1 apache apache 2511 Aug 27 04:02 cron.log.3.gz
-rw-r--r-- 1 apache apache 183976 Aug 29 15:00 ocsng_fullsync.log
-rw-r--r-- 1 apache apache 5924 Aug 29 04:02 ocsng_fullsync.log.1.gz
-rw-r--r-- 1 apache apache 5882 Aug 28 04:02 ocsng_fullsync.log.2.gz
-rw-r--r-- 1 apache apache 8730 Aug 27 04:02 ocsng_fullsync.log.3.gz
-rw-r--r-- 1 apache apache 134845 Aug 29 15:00 php-errors.log
-rw-r--r-- 1 apache apache 1075 Aug 29 04:02 php-errors.log.1.gz
-rw-r--r-- 1 apache apache 1013 Aug 28 04:02 php-errors.log.2.gz
-rw-r--r-- 1 apache apache 3228 Aug 27 04:02 php-errors.log.3.gz
-rw-r--r-- 1 apache apache 378136 Aug 29 14:08 pluginFusinvinventory-addsection.log
-rw-r--r-- 1 apache apache 42376 Aug 28 04:02 pluginFusinvinventory-addsection.log.1.gz
-rw-r--r-- 1 apache apache 1629 Aug 29 14:08 pluginFusinvinventory-entityrules.log
-rw-r--r-- 1 apache apache 222 Aug 28 04:02 pluginFusinvinventory-entityrules.log.1.gz
-rw-r--r-- 1 apache apache 909 Aug 29 14:08 pluginFusinvinventory-removesection.log
-rw-r--r-- 1 apache apache 329 Aug 28 04:02 pluginFusinvinventory-removesection.log.1.gz
-rw-r--r-- 1 apache apache 732 Aug 29 13:26 pluginFusinvinventory-updatesection.log
-rw-r--r-- 1 apache apache 35554 Aug 28 04:02 pluginFusinvinventory-updatesection.log.1.gz
-rw-r--r-- 1 apache apache 17812 Aug 29 14:08 pluginFusioninventory-communication.log
-rw-r--r-- 1 apache apache 718 Aug 28 04:02 pluginFusioninventory-communication.log.1.gz
-rw-r--r-- 1 apache apache 33585 Aug 29 14:08 pluginFusioninventory-rules.log
-rw-r--r-- 1 apache apache 6649 Aug 28 04:02 pluginFusioninventory-rules.log.1.gz
-rw-r--r-- 1 apache apache 731 Aug 29 08:10 sql-errors.log
-rw-r--r-- 1 apache apache 385 Aug 28 04:02 sql-errors.log.1.gz
-rw-r--r-- 1 apache apache 776 Aug 27 04:02 sql-errors.log.2.gz


What are needed?
Can tar all and send via email?
  Reply
#15
All pluginFusinvinventory* files to d.durieux@siprossii.com
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#16
ddurieux Wrote:All pluginFusinvinventory* files to d.durieux@siprossii.com


Log via email ok.


Now i tried to force the serial number in the inventory (manual operation) and
after this the SNMP start correcly and retrieve the SNMP data from the device.
How i can do all in automatic mode?

Now i have:

1) create an agent
2) Inventory of agent
3) Create the ip range
4) Create the task for netdiscovery. The task have discovered al my network
devices but without SNMP models, SNMP authentication and Serial number.

Only when i insert in manual mode SNMP models,SNMP authentication,Serial
number the SNMPQuery module start correcly.
Why?
  Reply
#17
mdeserventi Wrote:
ddurieux Wrote:All pluginFusinvinventory* files to d.durieux@siprossii.com


Log via email ok.


Now i tried to force the serial number in the inventory (manual operation) and
after this the SNMP start correcly and retrieve the SNMP data from the device.
How i can do all in automatic mode?

Now i have:

1) create an agent
2) Inventory of agent
3) Create the ip range
4) Create the task for netdiscovery. The task have discovered al my network
devices but without SNMP models, SNMP authentication and Serial number.

Only when i insert in manual mode SNMP models,SNMP authentication,Serial
number the SNMPQuery module start correcly.
Why?



Can be a problem in NetDiscovery for cisco switch?
  Reply
#18
mdeserventi Wrote:
mdeserventi Wrote:
ddurieux Wrote:All pluginFusinvinventory* files to d.durieux@siprossii.com


Log via email ok.


Now i tried to force the serial number in the inventory (manual operation) and
after this the SNMP start correcly and retrieve the SNMP data from the device.
How i can do all in automatic mode?

Now i have:

1) create an agent
2) Inventory of agent
3) Create the ip range
4) Create the task for netdiscovery. The task have discovered al my network
devices but without SNMP models, SNMP authentication and Serial number.

Only when i insert in manual mode SNMP models,SNMP authentication,Serial
number the SNMPQuery module start correcly.
Why?



Can be a problem in NetDiscovery for cisco switch?




Have you received the emails with log and with snmpwalk?

Regards
  Reply
#19
Oh yes, but not have yet time to see, I think don't have time before friday, sorry for the delay
Co-leader, official developper
DCS official PARTNER: dcs.glpi@dcsit-group.com
  Reply
#20
ddurieux Wrote:Oh yes, but not have yet time to see, I think don't have time before friday, sorry for the delay



Ok thanks...
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)