CRON error


#1

Hi !

when I try:


/usr/bin/php5 /usr/share/nginx/html/piwik/console core:archive --url=http://piwik.corp.fr/ > /var/log/piwik/piwik-archive.log

I have some error about NMP-AGENT-MIB and many other MID
I don’t understand why… is til a bug ?


root@piwik:~#/usr/bin/php5/usr/share/nginx/html/piwik/consolecore:archive--url=http://piwik.corp.fr/>/var/log/piwik/piwik-archive.log
MIBsearchpath:/root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannotfindmodule(SNMPv2-TC):Atline10in/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt
Cannotfindmodule(SNMPv2-SMI):Atline34in/usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Cannotfindmodule(SNMPv2-TC):Atline37in/usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Didnotfind'enterprises'inmodule#-1(/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Didnotfind'DisplayString'inmodule#-1(/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Didnotfind'TruthValue'inmodule#-1(/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
UnlinkedOIDinUCD-SNMP-MIB:ucdavis::={enterprises2021}
Undefinedidentifier:enterprisesnearline39of/usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Didnotfind'DisplayString'inmodule#-1(/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt)
Didnotfind'ucdExperimental'inmoduleUCD-SNMP-MIB(/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt)
UnlinkedOIDinUCD-DLMOD-MIB:ucdDlmodMIB::={ucdExperimental14}
Undefinedidentifier:ucdExperimentalnearline13of/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt
Cannotfindmodule(MTA-MIB):Atline0in(none)
Cannotfindmodule(NETWORK-SERVICES-MIB):Atline0in(none)
Cannotfindmodule(SNMPv2-TC):Atline15in/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
Didnotfind'DisplayString'inmodule#-1(/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)
Didnotfind'ucdExperimental'inmoduleUCD-SNMP-MIB(/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)
/NET-SNMP-AGENT-MIB.txtDidnotfind'SnmpAdminString'inmodule#-1(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'netSnmpObjects'inmoduleNET-SNMP-MIB(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'netSnmpModuleIDs'inmoduleNET-SNMP-MIB(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'netSnmpNotifications'inmoduleNET-SNMP-MIB(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'netSnmpGroups'inmoduleNET-SNMP-MIB(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'DisplayString'inmodule#-1(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'RowStatus'inmodule#-1(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'TruthValue'inmodule#-1(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)UnlinkedOIDinNET-SNMP-AGENT-MIB:nsAgentNotifyGroup::={netSnmpGroups9}Undefinedidentifier:netSnmpGroupsnearline545of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsTransactionGroup::={netSnmpGroups8}Undefinedidentifier:netSnmpGroupsnearline536of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsConfigGroups::={netSnmpGroups7}Undefinedidentifier:netSnmpGroupsnearline515of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsCacheGroup::={netSnmpGroups4}Undefinedidentifier:netSnmpGroupsnearline505of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsModuleGroup::={netSnmpGroups2}Undefinedidentifier:netSnmpGroupsnearline495of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:netSnmpAgentMIB::={netSnmpModuleIDs2}Undefinedidentifier:netSnmpModuleIDsnearline24of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsTransactions::={netSnmpObjects8}Undefinedidentifier:netSnmpObjectsnearline55of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsConfiguration::={netSnmpObjects7}Undefinedidentifier:netSnmpObjectsnearline54of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsErrorHistory::={netSnmpObjects6}Undefinedidentifier:netSnmpObjectsnearline53of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinked
ERROR[2015-07-3014:58:31]Emptyorinvalidresponse''forwebsiteid1,Timeelapsed:1.391s,skipping
ERROR[2015-07-3014:58:32]GotinvalidresponsefromAPIrequest:?module=API&method=API.get&idSite=2&period=day&date=last40&format=php&trigger=archivephp.Responsewas'MIBsearchpath:/root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmpCannotfindmodule(SNMPv2-TC):Atline10in/usr/share/snmp/mibs/UCD-DLMOD-MIB.txtCannotfindmodule(SNMPv2-SMI):Atline34in/usr/share/snmp/mibs/UCD-SNMP-MIB.txtCannotfindmodule(SNMPv2-TC):Atline37in/usr/share/snmp/mibs/UCD-SNMP-MIB.txtDidnotfind'enterprises'inmodule#-1(/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)Didnotfind'DisplayString'inmodule#-1(/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)Didnotfind'TruthValue'inmodule#-1(/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)UnlinkedOIDinUCD-SNMP-MIB:ucdavis::={enterprises2021}Undefinedidentifier:enterprisesnearline39of/usr/share/snmp/mibs/UCD-SNMP-MIB.txtDidnotfind'DisplayString'inmodule#-1(/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt)Didnotfind'ucdExperimental'inmoduleUCD-SNMP-MIB(/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt)UnlinkedOIDinUCD-DLMOD-MIB:ucdDlmodMIB::={ucdExperimental14}Undefinedidentifier:ucdExperimentalnearline13of/usr/share/snmp/mibs/UCD-DLMOD-MIB.txtCannotfindmodule(MTA-MIB):Atline0in(none)Cannotfindmodule(NETWORK-SERVICES-MIB):Atline0in(none)Cannotfindmodule(SNMPv2-TC):Atline15in/usr/share/snmp/mibs/UCD-DISKIO-MIB.txtDidnotfind'DisplayString'inmodule#-1(/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)Didnotfind'ucdExperimental'inmoduleUCD-SNMP-MIB(/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)UnlinkedOIDinUCD-DISKIO-MIB:ucdDiskIOMIB::={ucdExperimental15}Undefinedidentifier:ucdExperimentalnearline19of/usr/share/snmp/mibs/UCD-DISKIO-MIB.txtCannotfindmodule(SNMPv2-TC):Atline15in/usr/share/snmp/mibs/LM-SENSORS-MIB.txtDidnotfind'DisplayString'inmodule#-1(/usr/share/snmp/mibs/LM-SENSORS-MIB.txt)Didnotfind'ucdExperimental'inmoduleUCD-SNMP-MIB(/usr/share/snmp/mibs/LM-SENSORS-MIB.txt)UnlinkedOIDinLM-SENSORS-MIB:lmSensors::={ucdExperimental16}Undefinedidentifier:ucdExperimentalnearline32of/usr/share/snmp/mibs/LM-SENSORS-MIB.txtCannotfindmodule(HOST-RESOURCES-MIB):Atline0in(none)Cannotfindmodule(HOST-RESOURCES-TYPES):Atline0in(none)Cannotfindmodule(SNMPv2-MIB):Atline0in(none)Cannotfindmodule(IF-MIB):Atline0in(none)Cannotfindmodule(IP-MIB):Atline0in(none)Cannotfindmodule(TCP-MIB):Atline0in(none)Cannotfindmodule(UDP-MIB):Atline0in(none)Cannotfindmodule(NOTIFICATION-LOG-MIB):Atline0in(none)Cannotfindmodule(DISMAN-EVENT-MIB):Atline0in(none)Cannotfindmodule(DISMAN-SCHEDULE-MIB):Atline0in(none)Didnotfind'ucdavis'inmoduleUCD-SNMP-MIB(/usr/share/snmp/mibs/UCD-DEMO-MIB.txt)UnlinkedOIDinUCD-DEMO-MIB:ucdDemoMIB::={ucdavis14}Undefinedidentifier:ucdavisnearline7of/usr/share/snmp/mibs/UCD-DEMO-MIB.txtCannotfindmodule(SNMP-TARGET-MIB):Atline0in(none)Cannotfindmodule(SNMP-FRAMEWORK-MIB):Atline9in/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtCannotfindmodule(SNMPv2-SMI):Atline8in/usr/share/snmp/mibs/NET-SNMP-MIB.txtDidnotfind'enterprises'inmodule#-1(/usr/share/snmp/mibs/NET-SNMP-MIB.txt)UnlinkedOIDinNET-SNMP-MIB:netSnmp::={enterprises8072}Undefinedidentifier:enterprisesnearline10of/usr/share/snmp/mibs/NET-SNMP-MIB.txtCannotfindmodule(SNMPv2-TC):Atline21in/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtDidnotfind'SnmpAdminString'inmodule#-1(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'netSnmpObjects'inmoduleNET-SNMP-MIB(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'netSnmpModuleIDs'inmoduleNET-SNMP-MIB(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'netSnmpNotifications'inmoduleNET-SNMP-MIB(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'netSnmpGroups'inmoduleNET-SNMP-MIB(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'DisplayString'inmodule#-1(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'RowStatus'inmodule#-1(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)Didnotfind'TruthValue'inmodule#-1(/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt)UnlinkedOIDinNET-SNMP-AGENT-MIB:nsAgentNotifyGroup::={netSnmpGroups9}Undefinedidentifier:netSnmpGroupsnearline545of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsTransactionGroup::={netSnmpGroups8}Undefinedidentifier:netSnmpGroupsnearline536of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsConfigGroups::={netSnmpGroups7}Undefinedidentifier:netSnmpGroupsnearline515of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsCacheGroup::={netSnmpGroups4}Undefinedidentifier:netSnmpGroupsnearline505of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsModuleGroup::={netSnmpGroups2}Undefinedidentifier:netSnmpGroupsnearline495of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:netSnmpAgentMIB::={netSnmpModuleIDs2}Undefinedidentifier:netSnmpModuleIDsnearline24of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsTransactions::={netSnmpObjects8}Undefinedidentifier:netSnmpObjectsnearline55of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsConfiguration::={netSnmpObjects7}Undefinedidentifier:netSnmpObjectsnearline54of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinkedOIDinNET-SNMP-AGENT-MIB:nsErrorHistory::={netSnmpObjects6}Undefinedidentifier:netSnmpObjectsnearline53of/usr/share/snmp/mibs/NET-SNMP-AGENT-MIB.txtUnlinked

ERROR[2015-07-3014:58:36]12totalerrorsduringthisscriptexecution,pleaseinvestigateandtryandfixtheseerrors.



[Exception]
12totalerrorsduringthisscriptexecution,pleaseinvestigateandtryan
dfixtheseerrors.






root@piwik:~#