Aller au contenu

Mon Script Moniteur A Moi.


Messages recommandés

  • Réponses 626
  • Créé
  • Dernière réponse

Meilleurs contributeurs dans ce sujet

Bon, ils vont me rendre fou ces DS-101j, il y a toujours un truc qui cloche :diablo:

Essai de taper :

rrdtool fetch /opt/etc/moniteur/Uptime.rrd MAX | tail -10

et

rrdtool fetch /opt/etc/moniteur/Cpu.rrd MAX | tail -10

et

rrdtool fetch /opt/etc/moniteur/Memoire.rrd MAX | tail -10

et

rrdtool fetch /opt/etc/moniteur/Reseau.rrd MAX | tail -10

et

rrdtool fetch /opt/etc/moniteur/U-disque.rrd MAX | tail -10

Normalement tu devrais avoir pleins de chiffres (autre que des z

Lien vers le commentaire
Partager sur d’autres sites

Bon, ils vont me rendre fou ces DS-101j, il y a toujours un truc qui cloche :diablo:

Essai de taper :

rrdtool fetch /opt/etc/moniteur/Uptime.rrd MAX | tail -10

pas_fab> rrdtool fetch /opt/etc/moniteur/Uptime.rrd MAX| tail -10

1208213700: nan nan

1208214000: nan nan

1208214300: nan nan

1208214600: nan nan

1208214900: nan nan

1208215200: nan nan

1208215500: nan nan

1208215800: nan nan

1208216100: nan nan

1208216400: nan nan

[/b][/color][color="#a0522d"][b]
rrdtool fetch /opt/etc/moniteur/Cpu.rrd MAX | tail -10
[/b][/color]

[color="#a0522d"][b]pas_fab> rrdtool fetch /opt/etc/moniteur/Cpu.rrd MAX| tail -10

1208213700: nan

1208214000: nan

1208214300: nan

1208214600: nan

1208214900: nan

1208215200: nan

1208215500: nan

1208215800: nan

1208216100: nan

1208216400: nan

[/b][/color][color="#a0522d"][b]
rrdtool fetch /opt/etc/moniteur/Memoire.rrd MAX | tail -10
[/b][/color]

[color="#a0522d"][b]pas_fab> rrdtool fetch /opt/etc/moniteur/Memoire.rrd  MAX| tail -10

1208213700: nan nan nan nan nan

1208214000: nan nan nan nan nan

1208214300: nan nan nan nan nan

1208214600: nan nan nan nan nan

1208214900: nan nan nan nan nan

1208215200: nan nan nan nan nan

1208215500: nan nan nan nan nan

1208215800: nan nan nan nan nan

1208216100: nan nan nan nan nan

1208216400: nan nan nan nan nan

[/b][/color][color="#a0522d"][b]
rrdtool fetch /opt/etc/moniteur/Reseau.rrd MAX | tail -10
[/b][/color]

[color="#a0522d"][b]pas_fab> rrdtool fetch /opt/etc/moniteur/Reseau.rrd MAX| tail -10

1208213700: nan nan

1208214000: nan nan

1208214300: nan nan

1208214600: nan nan

1208214900: nan nan

1208215200: nan nan

1208215500: nan nan

1208215800: nan nan

1208216100: nan nan

1208216400: nan nan[/b][/color][color="#a0522d"][b]
rrdtool fetch /opt/etc/moniteur/U-disque.rrd MAX | tail -10
[/b][/color]

[color="#a0522d"][b]pas_fab> rrdtool fetch /opt/etc/moniteur/U-disque.rrd MAX| tail -10

1208213700: nan nan nan

1208214000: nan nan nan

1208214300: nan nan nan

1208214600: nan nan nan

1208214900: nan nan nan

1208215200: nan nan nan

1208215500: nan nan nan

1208215800: nan nan nan

1208216100: nan nan nan

1208216400: nan nan nan

[/b][/color][color="#a0522d"][b]

Voila les r

Lien vers le commentaire
Partager sur d’autres sites

Salut fred j'ai un soucis avec ton moniteur :(

Rien ne semble fonctionner

http://maison.francois.cc:8080/moniteur-web/

J'ai bien suivi ton tuto mais ??

<html><head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<meta http-equiv="Pragma" content="No-Cache">

<meta http-equiv="Cache-Controle" content="No-Store">

<title>MONITEUR</title></head>

<body onLoad="cacheOff()">

<div id="cache">

<!-- //Vous devez customiser votre message ici -->

<div align="center"><table border=0 cellpadding=2 cellspacing=0>

<tr><td align=center valign=middle><font face="Verdana" size=4><b>Chargement en cours!</b></font></td></tr>

<tr><td align=center valign=middle><img border="0" src="images/preload.gif" width="50" height="50"></td></tr></table>

</div>

<br />

<b>Warning</b>: system() [<a href='function.system'>function.system</a>]: PHP exec disable. in <b>/volume1/web/moniteur-web/moniteur-Elm_homeData.php</b> on line <b>28</b><br />

</div>

<script language="Javascript">

var nava = (document.layers);

var dom = (document.getElementById);

var iex = (document.all);

if (nava) { cach = document.cache }

else if (dom) { cach = document.getElementById("cache").style }

else if (iex) { cach = cache.style }

largeur = screen.width;

cach.left = Math.round((largeur/2)-200);

cach.visibility = "visible";

function cacheOff()

{cach.visibility = "hidden";

}

</script></body></html>

Lien vers le commentaire
Partager sur d’autres sites

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.