Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

snmp et temperature cpu sous freebsd

Featured Replies

Posté(e)

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 ?

Posté(e)

une très bonne question..... j'ai pas de suuport de la temp sur mon serveur alors je n'ai jamais cherché .....

Posté(e)

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...

Posté(e)

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

Posté(e)
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/

...

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.