[mythtv-users] NVIDIA card monitoring for munin

Anthony Giggins seven at seven.dorksville.net
Sat Nov 6 11:38:34 UTC 2010


On 6 November 2010 10:12, Anthony Giggins <seven at seven.dorksville.net>wrote:

>
>
> On 05/11/2010, at 12:33 AM, Nicolas Will <nico at youplala.net> wrote:
>
> > On Thu, 2010-11-04 at 15:19 +0100, Josu Lazkano wrote:
> >> How can I install the "nvidia-smi" software?
> >
> > it comes with the binary driver.
> >
> > Nico
> >
> > __
>
> Yes this inspired me to monitor this in cacti also I'll post templates and
> scripts when I get some time in front of a computer.
>
> My card only displayed temp so that's all I'm monitoring I'll leave it to
> others to add other functionality.
>
> Cheers,
>
> Anthony


And now the templates as promised

I added the following to snmpd.conf

extend .1.3.6.1.4.1.2021.54 gputemp /bin/sh /home/mythtv/gputemp.sh

and the contents of /home/mythtv/gputemp.sh as below

/usr/bin/nvidia-smi -q -g 0 | grep Temperature | cut -d ' ' -f 2

Cheers,

Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101106/6fb43fad/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cacti_data_template_gpu_temp_template.xml
Type: text/xml
Size: 7777 bytes
Desc: not available
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101106/6fb43fad/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cacti_graph_template_gpu_temp.xml
Type: text/xml
Size: 12546 bytes
Desc: not available
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101106/6fb43fad/attachment-0003.bin>


More information about the mythtv-users mailing list