{"action":"created","issue":{"url":"https://api.github.com/repos/seren/freenas-temperature-graphing/issues/9","repository_url":"https://api.github.com/repos/seren/freenas-temperature-graphing","labels_url":"https://api.github.com/repos/seren/freenas-temperature-graphing/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/seren/freenas-temperature-graphing/issues/9/comments","events_url":"https://api.github.com/repos/seren/freenas-temperature-graphing/issues/9/events","html_url":"https://github.com/seren/freenas-temperature-graphing/issues/9","id":235028786,"number":9,"title":"CPU Monitoring for ESXi Users","user":{"login":"svtkobra7","id":23509310,"avatar_url":"https://avatars2.githubusercontent.com/u/23509310?v=3","gravatar_id":"","url":"https://api.github.com/users/svtkobra7","html_url":"https://github.com/svtkobra7","followers_url":"https://api.github.com/users/svtkobra7/followers","following_url":"https://api.github.com/users/svtkobra7/following{/other_user}","gists_url":"https://api.github.com/users/svtkobra7/gists{/gist_id}","starred_url":"https://api.github.com/users/svtkobra7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svtkobra7/subscriptions","organizations_url":"https://api.github.com/users/svtkobra7/orgs","repos_url":"https://api.github.com/users/svtkobra7/repos","events_url":"https://api.github.com/users/svtkobra7/events{/privacy}","received_events_url":"https://api.github.com/users/svtkobra7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-10T21:44:06Z","updated_at":"2017-06-11T21:26:44Z","closed_at":null,"body":"**Issue**:  ESXi doesn't pass through CPU temperatures to FreeNAS, so no CPU temperatures are graphed.\r\n\r\n**Proposed Solution:**\r\n1.  Add variable where user specifies BMC IP ADDRESS and USERNAME.\r\n\r\n`$ipmitool = \"/usr/local/bin/ipmitool -I lanplus -H <BMC IP ADDRESS> -U <USERNAME> -f /root/.ipmi `\r\n\r\n2.  Use remote IPMI command (sdr elist) to obtain sensor name (CPUX) and temperature.  An example from my server follows for your reference.\r\n\r\n`$ipmitool sdr elist | grep \"CPU\" | grep \"Temp\" | awk '{print $1, $4}'`\r\n\r\n`CPU1 43\r\nCPU2 62`"},"comment":{"url":"https://api.github.com/repos/seren/freenas-temperature-graphing/issues/comments/307657973","html_url":"https://github.com/seren/freenas-temperature-graphing/issues/9#issuecomment-307657973","issue_url":"https://api.github.com/repos/seren/freenas-temperature-graphing/issues/9","id":307657973,"user":{"login":"seren","id":512022,"avatar_url":"https://avatars1.githubusercontent.com/u/512022?v=3","gravatar_id":"","url":"https://api.github.com/users/seren","html_url":"https://github.com/seren","followers_url":"https://api.github.com/users/seren/followers","following_url":"https://api.github.com/users/seren/following{/other_user}","gists_url":"https://api.github.com/users/seren/gists{/gist_id}","starred_url":"https://api.github.com/users/seren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seren/subscriptions","organizations_url":"https://api.github.com/users/seren/orgs","repos_url":"https://api.github.com/users/seren/repos","events_url":"https://api.github.com/users/seren/events{/privacy}","received_events_url":"https://api.github.com/users/seren/received_events","type":"User","site_admin":false},"created_at":"2017-06-11T21:26:44Z","updated_at":"2017-06-11T21:26:44Z","body":"From @svtkobra7 in outside channel (paraphrased). Copied here for tracking:\r\n\r\n> I just attempted to test and got the following errors via SSH. Let me know what other info I can provide.\r\n\r\n> In the below obviously I have substituted my username and IP without quotes.\r\n\r\n```\r\n[root@SullyNAS] /mnt/Tank1/System/Scripts/freenas-temperature-graphing-esxi# ./rrd.sh --platform \"esxi\" --ipmitool_username x --impitool_ip x --debug\r\n--platform\r\nesxi\r\nCreating rrdtool db file: esxi\r\nRrdtool arguments:  DS:cpu0:GAUGE:0:0:150 DS:cpu1:GAUGE:0:0:150 DS:cpu2:GAUGE:0:0:150 DS:cpu3:GAUGE:0:0:150 DS:da1:GAUGE:0:0:100 DS:da2:GAUGE:0:0:100 DS:da3:GAUGE:0:0:100 DS:da4:GAUGE:0:0:100 DS:da5:GAUGE:0:0:100 DS:da6:GAUGE:0:0:100 DS:da7:GAUGE:0:0:100 DS:da8:GAUGE:0:0:100 DS:da9:GAUGE:0:0:100 DS:da10:GAUGE:0:0:100 DS:da11:GAUGE:0:0:100 DS:da12:GAUGE:0:0:100 DS:da13:GAUGE:0:0:100 DS:da14:GAUGE:0:0:100 DS:da15:GAUGE:0:0:100 DS:da16:GAUGE:0:0:100\r\n/usr/local/bin/rrdtool create esxi --step 0 DS:cpu0:GAUGE:0:0:150 DS:cpu1:GAUGE:0:0:150 DS:cpu2:GAUGE:0:0:150 DS:cpu3:GAUGE:0:0:150 DS:da1:GAUGE:0:0:100 DS:da2:GAUGE:0:0:100 DS:da3:GAUGE:0:0:100 DS:da4:GAUGE:0:0:100 DS:da5:GAUGE:0:0:100 DS:da6:GAUGE:0:0:100 DS:da7:GAUGE:0:0:100 DS:da8:GAUGE:0:0:100 DS:da9:GAUGE:0:0:100 DS:da10:GAUGE:0:0:100 DS:da11:GAUGE:0:0:100 DS:da12:GAUGE:0:0:100 DS:da13:GAUGE:0:0:100 DS:da14:GAUGE:0:0:100 DS:da15:GAUGE:0:0:100 DS:da16:GAUGE:0:0:100 RRA:MAX:0.5:1:3000\r\nERROR: step size: value must be positive\r\nERROR: Couldn't initialize esxi. Running diagnostics...\r\nScript version: 1.0\r\nTesting file permissions...\r\n'esxi' doesn't exist\r\nTesting chmod...\r\n'esxi' doesn't exist\r\nTesting file field count...\r\nData variable is empty\r\nTest failed (returned 1)\r\n```\r\n\r\n```\r\n[root@SullyNAS] /mnt/Tank1/System/Scripts/freenas-temperature-graphing-esxi# ./rrd-graph.sh --platform \"esxi\" --ipmitool_username x --impitool_ip x --debug\r\n./rrd-graph.sh: Unrecognized option: --platform (try --help)\r\n```"}}
{"actor":{"display_login":"seren"}}