Précédent   Forum des professionnels en informatique > Systèmes > Linux > Applications
Applications Questions sur l'utilisation d'applications, du shell, et des interfaces graphiques (KDE, Gnome, XFCE... )
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 10/03/2011, 19h32   #1
Invité de passage
 
Inscription : décembre 2010
Messages : 2
Détails du profil
Informations forums :
Inscription : décembre 2010
Messages : 2
Points : 1
Points : 1
Par défaut rrdtool step 300 OK step 600 KO

Ce premier script fait exactement ce que je souhaite : afficher 2, 1 et 4
Code :
1
2
3
4
5
6
7
rrdtool create  ${FICRRD}.rrd --step 300 --start 978303900 DS:b300:GAUGE:300:0:U \
          RRA:AVERAGE:0:1:3
 rrdtool update  ${FICRRD}.rrd \
          978304200:2 \
          978304500:1 \
          978304800:4
rrdtool graph  /usr/local/apache/htdocs/${FICRRD}.gif --start 978303900 --end 978305200 --step 300 -h 400 DEF:lineb=${FICRRD}.rrd:b300:AVERAGE LINE:lineb#00FF00:"Line_300"
Mais avec un step 600 et le script ci-dessous, j'obtiens 1, 1.5, et 2.5 pourquoi s'il vous plait (je voudrais voir afficher 2,1 et 4 avec mon step à 600)

Code :
1
2
3
4
5
6
7
8
rrdtool create  ${FICRRD}.rrd --step 600 --start 978303900 DS:b600:GAUGE:600:0:U \
          RRA:AVERAGE:0:1:3
 rrdtool update  ${FICRRD}.rrd \
          978304500:2 \
          978305100:1 \
          978305700:4
 
 rrdtool graph  /usr/local/apache/htdocs/${FICRRD}.gif --start 978303900 --end 978305700 --step 600  -h 400 DEF:lineb=${FICRRD}.rrd:b600:AVERAGE LINE:lineb#00FF00:"Line_600"
xajepa est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 18h45.


 
 
 
 
Partenaires

Hébergement Web