cell47 Posted August 18, 2004 Share Posted August 18, 2004 salut , je cherche actuellement un moyen de grapher via mrtg et snmp la temperature cpu seulement je ne trouve pas d'oids correspondant a ceci.Sur le net j'ai vu pas mal de graphes mrtg avec la cpu-tem via snmp seulement je n'ai pas trouvé comments ils ont fait.Est-ce que quelqu'un connait un moyen pour obtenir la temperature cpu avec snmp ? Link to comment Share on other sites More sharing options...
Dark26 Posted August 18, 2004 Share Posted August 18, 2004 une très bonne question..... j'ai pas de suuport de la temp sur mon serveur alors je n'ai jamais cherché ..... Link to comment Share on other sites More sharing options...
-rem- Posted August 18, 2004 Share Posted August 18, 2004 non, je ne connais pas, mais : Soit un how to snmp soit un script ( Perl est ton ami ) qui permet de recuperer la temperature via une commande systeme... Link to comment Share on other sites More sharing options...
Sandeman Posted August 18, 2004 Share Posted August 18, 2004 En attendant comme tout est en local : Target[proc]: `/usr/local/bin/mrtg/proc_temp.sh` Maxbytes[proc]:100 AbsMax[proc]:100 Pagetop[proc]: <H1> Température </H1> Title[proc]: Température CPU & MB ShortLegend[proc]: °C Legend1[proc]: T° CPU Legend2[proc]: T° MB LegendI[proc]: CPU: LegendO[proc]: MB: YLegend[proc]: °C Options[proc]: integer, gauge, growright, noinfo #Unscaled[procs]: dwmy cat /usr/local/bin/mrtg/proc_temp.sh sensors | grep "^temp1" | awk '{print $2}' | cut -b2-3 sensors | grep "^temp3" | awk '{print $2}' | cut -b2-3 Link to comment Share on other sites More sharing options...
cell47 Posted August 18, 2004 Author Share Posted August 18, 2004 arf sensors n'existe pas sous freebsd :( Link to comment Share on other sites More sharing options...
tuXXX Posted August 18, 2004 Share Posted August 18, 2004 arf sensors n'existe pas sous freebsd :( sinon, y'a l'acpi qui permet d'avoir la température, aussi (quelquefois...) sous nux, c'est dans /proc/acpi/thermal_zone/ ... Link to comment Share on other sites More sharing options...
cell47 Posted August 18, 2004 Author Share Posted August 18, 2004 ouais dans la page de l'acpi de freebsd je vois bien ACPI_THERMAL. Link to comment Share on other sites More sharing options...
ouragan Posted August 25, 2004 Share Posted August 25, 2004 http://www.freebsd.org/cgi/url.cgi?ports/n...graph/pkg-descr et plus de logiciels pour snmp là http://www.freebsd.org/cgi/ports.cgi?query=snmp&stype=all rahhh pas le reflexe freeBSD ? et si tu cherche un logiciel porté c'est là http://www.freebsd.org/ports/ avec un index de recherche..... voilavoilavoila..... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.