{"action":"created","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/438","labels_url":"https://api.github.com/repos/librenms/librenms/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/438/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/438/events","html_url":"https://github.com/librenms/librenms/issues/438","id":56328795,"number":438,"title":"Draw Error","user":{"login":"wzhsunn","id":528348,"avatar_url":"https://avatars.githubusercontent.com/u/528348?v=3","gravatar_id":"","url":"https://api.github.com/users/wzhsunn","html_url":"https://github.com/wzhsunn","followers_url":"https://api.github.com/users/wzhsunn/followers","following_url":"https://api.github.com/users/wzhsunn/following{/other_user}","gists_url":"https://api.github.com/users/wzhsunn/gists{/gist_id}","starred_url":"https://api.github.com/users/wzhsunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzhsunn/subscriptions","organizations_url":"https://api.github.com/users/wzhsunn/orgs","repos_url":"https://api.github.com/users/wzhsunn/repos","events_url":"https://api.github.com/users/wzhsunn/events{/privacy}","received_events_url":"https://api.github.com/users/wzhsunn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-03T03:24:26Z","updated_at":"2015-02-04T06:50:55Z","closed_at":null,"body":"I poll a win 7, but I got a draw error on  **Processor Usage**.\r\nI debug it :\r\n```\r\nSQL[ESC[33mSELECT * FROM storage WHERE device_id = '5'ESC[0m] string(35) \"===================================\"\r\nPolling Netstats: IPDEBUG: SNMP Auth options =  -v2c -c public\r\n/usr/bin/snmpget -v2c -c public -OQUs -m IP-MIB -M /opt/librenms/mibs udp:192.168.26.86:161  IP-MIB::ipForwDatagrams.0 IP-MIB::ipInDelivers.0 IP-MIB::ipInReceives.0 IP-MIB::ipOutRequests.0 IP-MIB::ipInDiscards.0 IP-MIB::ipOutDiscards.0 IP-MIB::ipOutNoRoutes.0 IP-MIB::ipReasmReqds.0 IP-MIB::ipReasmOKs.0 IP-MIB::ipReasmFails.0 IP-MIB::ipFragOKs.0 IP-MIB::ipFragFails.0 IP-MIB::ipFragCreates.0 IP-MIB::ipInUnknownProtos.0 IP-MIB::ipInHdrErrors.0 IP-MIB::ipInAddrErrors.0\r\nipForwDatagrams.0 = 0\r\nipInDelivers.0 = 410830\r\nipInReceives.0 = 265606\r\nipOutRequests.0 = 304746\r\nipInDiscards.0 = 15653\r\nipOutDiscards.0 = 151\r\nipOutNoRoutes.0 = 4\r\nipReasmReqds.0 = 0\r\nipReasmOKs.0 = 0\r\nipReasmFails.0 = 0\r\nipFragOKs.0 = 425\r\nipFragFails.0 = 0\r\nipFragCreates.0 = 5018\r\nipInUnknownProtos.0 = 0\r\nipInHdrErrors.0 = 15\r\nipInAddrErrors.0 = 8898\r\n\r\nERROR: mmaping file '/opt/librenms/rrd/192.168.26.86/uptime.rrd': Invalid argument\r\nRRD[ESC[32mupdate /opt/librenms/rrd/192.168.26.86/netstats-ip.rrd N:0:410830:265606:304746:15653:151:4:0:0:0:425:0:5018:0:15:8898ESC[0m]  TCPDEBUG: SNMP Auth options =  -v2c -c public\r\n/usr/bin/snmpget -v2c -c public -OQUs -m TCP-MIB -M /opt/librenms/mibs udp:192.168.26.86:161  TCP-MIB::tcpActiveOpens.0 TCP-MIB::tcpPassiveOpens.0 TCP-MIB::tcpAttemptFails.0 TCP-MIB::tcpEstabResets.0 TCP-MIB::tcpCurrEstab.0 TCP-MIB::tcpInSegs.0 TCP-MIB::tcpOutSegs.0 TCP-MIB::tcpRetransSegs.0 TCP-MIB::tcpInErrs.0 TCP-MIB::tcpOutRsts.0 tcpHCInSegs.0 tcpHCOutSegs.0\r\ntcpActiveOpens.0 = 12389\r\ntcpPassiveOpens.0 = 499\r\ntcpAttemptFails.0 = 6083\r\ntcpEstabResets.0 = 3611\r\ntcpCurrEstab.0 = 36\r\ntcpInSegs.0 = 263685\r\ntcpOutSegs.0 = 247737\r\ntcpRetransSegs.0 = 18578\r\ntcpInErrs.0 = 0\r\ntcpOutRsts.0 = 4634\r\n\r\nERROR: mmaping file '/opt/librenms/rrd/192.168.26.86/netstats-ip.rrd': Invalid argument\r\n:\r\n\r\n```\r\n\r\nwhat 's the problem ?\r\n"},"comment":{"url":"https://api.github.com/repos/librenms/librenms/issues/comments/72799531","html_url":"https://github.com/librenms/librenms/issues/438#issuecomment-72799531","issue_url":"https://api.github.com/repos/librenms/librenms/issues/438","id":72799531,"user":{"login":"wzhsunn","id":528348,"avatar_url":"https://avatars.githubusercontent.com/u/528348?v=3","gravatar_id":"","url":"https://api.github.com/users/wzhsunn","html_url":"https://github.com/wzhsunn","followers_url":"https://api.github.com/users/wzhsunn/followers","following_url":"https://api.github.com/users/wzhsunn/following{/other_user}","gists_url":"https://api.github.com/users/wzhsunn/gists{/gist_id}","starred_url":"https://api.github.com/users/wzhsunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzhsunn/subscriptions","organizations_url":"https://api.github.com/users/wzhsunn/orgs","repos_url":"https://api.github.com/users/wzhsunn/repos","events_url":"https://api.github.com/users/wzhsunn/events{/privacy}","received_events_url":"https://api.github.com/users/wzhsunn/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T06:50:55Z","updated_at":"2015-02-04T06:50:55Z","body":"I use vagrant \r\n```\r\nconfig.vm.synced_folder \"G:\\\\project\\\\nms\\\\librenms\", \"/opt/librenms\", :owner => \"www-data\",:group => \"www-data\"\r\n``\r\n\r\nNow I copy librenms and remove the synced_folder.\r\n\r\n```\r\nroot@vagrant-ubuntu-trusty-64:/opt# ls -al librenms/\r\ntotal 744\r\ndrwxr-xr-x 15 root     root       4096 Feb  4 06:14 .\r\ndrwxr-xr-x  5 root     root       4096 Feb  4 06:19 ..\r\n-rwxr-xr-x  1 root     root       5543 Feb  4 05:53 addhost.php\r\n-rwxr-xr-x  1 root     root       1276 Feb  4 05:53 adduser.php\r\n-rwxr-xr-x  1 root     root      12057 Feb  4 05:53 alerts.php\r\n-rwxr-xr-x  1 root     root      92033 Feb  4 05:53 a.log\r\n-rwxr-xr-x  1 root     root        482 Feb  4 05:53 AUTHORS.md\r\n-rwxr-xr-x  1 root     root       6142 Feb  4 05:53 billing-calculate.php\r\n-rwxr-xr-x  1 root     root        857 Feb  4 05:53 build-base.php\r\n-rwxr-xr-x  1 root     root      54661 Feb  4 05:53 build.sql\r\n-rwxr-xr-x  1 root     root        147 Feb  4 05:53 CHANGELOG\r\n-rwxr-xr-x  1 root     root       1622 Feb  4 05:53 check-errors.php\r\n-rwxr-xr-x  1 root     root       2581 Feb  4 05:53 check-services.php\r\n-rwxr-xr-x  1 root     root       1740 Feb  4 05:53 config.php\r\n-rwxr-xr-x  1 root     root       1682 Feb  4 05:53 config.php.default\r\n-rwxr-xr-x  1 root     root        608 Feb  4 05:53 config_to_json.php\r\ndrwxr-xr-x  2 root     root       4096 Feb  4 05:53 contrib\r\n-rwxr-xr-x  1 root     root       2086 Feb  4 05:53 daily.php\r\n-rwxr-xr-x  1 root     root        265 Feb  4 05:53 daily.sh\r\n-rwxr-xr-x  1 root     root        747 Feb  4 05:53 delhost.php\r\n-rwxr-xr-x  1 root     root     155667 Feb  4 05:53 discovery.log\r\n-rwxr-xr-x  1 root     root       4482 Feb  4 05:53 discovery.php\r\ndrwxr-xr-x  6 root     root       4096 Feb  4 05:53 doc\r\ndrwxr-xr-x  7 root     root       4096 Feb  4 05:53 .git\r\n-rwxr-xr-x  1 root     root         88 Feb  4 05:53 .gitignore\r\ndrwxr-xr-x 10 root     root       4096 Feb  4 05:53 html\r\ndrwxr-xr-x 10 root     root       4096 Feb  4 05:53 includes\r\n-rwxr-xr-x  1 root     root      20531 Feb  4 05:53 irc.php\r\n-rwxr-xr-x  1 root     root        381 Feb  4 05:53 librenms.cron\r\ndrwxr-xr-x  2 root     root       4096 Feb  4 05:53 licenses\r\n-rwxr-xr-x  1 root     root      36018 Feb  4 05:53 LICENSE.txt\r\ndrwxr-xr-x  2 www-data www-data   4096 Feb  4 05:53 logs\r\n-rwxr-xr-x  1 root     root        726 Feb  4 05:53 Makefile\r\ndrwxr-xr-x  7 root     root      45056 Feb  4 05:53 mibs\r\n-rwxr-xr-x  1 root     root        301 Feb  4 05:53 note.md\r\n-rwxr-xr-x  1 root     root       4710 Feb  4 05:53 poll-billing.php\r\n-rwxr-xr-x  1 root     root     120953 Feb  4 05:53 poller.log\r\n-rwxr-xr-x  1 root     root       4872 Feb  4 05:53 poller.php\r\n-rwxr-xr-x  1 root     root       7043 Feb  4 05:53 poller-wrapper.py\r\n-rwxr-xr-x  1 root     root       5011 Feb  4 05:53 README.md\r\n-rwxr-xr-x  1 root     root       1006 Feb  4 05:53 renamehost.php\r\ndrwxr-xr-x  5 www-data www-data   4096 Feb  4 06:22 rrd\r\ndrwxr-xr-x  4 root     root       4096 Feb  4 05:53 scripts\r\n-rwxr-xr-x  1 root     root        534 Feb  4 05:53 .scrutinizer.yml\r\n-rwxr-xr-x  1 root     root         29 Feb  4 05:53 snmp.conf.example\r\n-rwxr-xr-x  1 root     root        479 Feb  4 05:53 snmpd.conf.example\r\n-rwxr-xr-x  1 root     root       1103 Feb  4 05:53 snmptrap.php\r\ndrwxr-xr-x  2 root     root       4096 Feb  4 05:53 sql-schema\r\n-rwxr-xr-x  1 root     root        850 Feb  4 05:53 syslog.php\r\ndrwxr-xr-x  2 root     root       4096 Feb  4 05:53 test\r\ndrwxr-xr-x  2 root     root       4096 Feb  4 05:53 upgrade-scripts\r\n\r\n```\r\n\r\n![images](https://github.com/wzhsunn/TestRes/blob/master/LibreNMS.png)\r\n"}}