<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<span class="ul-threaded" style="margin: 0.5em 0pt 0pt -20px;"><span class="text-cell">Hi All,
<br><br>I have freshly installed MRTG under my ubuntu server 9, but some graphs are KO:
<br><br><a href="http://img32.imageshack.us/my.php?image=59013636.jpg" target="_top" rel="nofollow">screenshot</a><br><br>here is the results of the cron command:
<br><b>env LANG=C /usr/bin/mrtg /var/www/mrtg/mrtg-sys/mrtg_bagnolar.cfg</b><br><br><b><br>2009-05-20 11:47:29: WARNING: Problem with External get '/var/www/mrtg/mrtg-sys/diskrw.pl':
<br>&nbsp; &nbsp;Expected a Number for 'in' but got ''
<br><br>2009-05-20 11:47:29: WARNING: Problem with External get '/var/www/mrtg/mrtg-sys/diskrw.pl':
<br>&nbsp; &nbsp;Expected a Number for 'out' but got ''
<br><br><br>Looking up 127.0.0.1
<br>Making HTTP connection to 127.0.0.1
<br>Alert!: Unable to connect to remote host.
<br><br>lynx: Can't access startfile <a href="http://127.0.0.1/ovh-status" target="_top" rel="nofollow">http://127.0.0.1/ovh-status</a><br>2009-05-20 11:47:29: WARNING: Problem with External get '/var/www/mrtg/mrtg-sys/apache.pl':
<br>&nbsp; &nbsp;Expected a Number for 'in' but got ''
<br><br>2009-05-20 11:47:29: WARNING: Problem with External get '/var/www/mrtg/mrtg-sys/apache.pl':
<br>&nbsp; &nbsp;Expected a Number for 'out' but got ''
<br><br><br>Looking up 127.0.0.1
<br>Making HTTP connection to 127.0.0.1
<br>Alert!: Unable to connect to remote host.
<br><br>lynx: Can't access startfile <a href="http://127.0.0.1/ovh-status" target="_top" rel="nofollow">http://127.0.0.1/ovh-status</a><br>2009-05-20 11:47:29: WARNING: Problem with External get '/var/www/mrtg/mrtg-sys/apache2.pl':
<br>&nbsp; &nbsp;Expected a Number for 'in' but got ''
<br><br>2009-05-20 11:47:30: ERROR: Target[bagnolar_cpu][_IN_] ' $target-&gt;[2]{$mode} ' evaluated to 'NaN' instead of a number
<br>2009-05-20 11:47:30: ERROR: Target[bagnolar_rw][_IN_] ' $target-&gt;[5]{$mode} ' did not eval into defined data
<br>2009-05-20 11:47:30: ERROR: Target[bagnolar_rw][_OUT_] ' $target-&gt;[5]{$mode} ' did not eval into defined data
<br>2009-05-20 11:47:30: ERROR: Target[bagnolar_apache][_IN_] ' $target-&gt;[10]{$mode} ' did not eval into defined data
<br>2009-05-20 11:47:30: ERROR: Target[bagnolar_apache][_OUT_] ' $target-&gt;[10]{$mode} ' did not eval into defined data
<br>2009-05-20 11:47:30: ERROR: Target[bagnolar_apache2][_IN_] ' $target-&gt;[11]{$mode} ' did not eval into defined data
<br>r
<br></b><br><br><br>I can undestand some of them, for ex: my apache server is not running under 80, but under another port 
<br>- how to modify that
<br>- why <a href="http://127.0.0.1/ovh-status" target="_top" rel="nofollow">http://127.0.0.1/ovh-status</a>&nbsp;??? my installation is not linked with OVH (maybe template solution).
<br>- if i open the script /var/www/mrtg/mrtg-sys/diskrw.pl I can see command : <b>cat /proc/stat | grep disk_io</b>&nbsp;regarding the file /proc/stat, there is nothing inside linked with disk ioM
<br><br><b>cat /proc/stat</b><br><b><br>cpu &nbsp;489557 34610 291223 33836777 591595 6156 17548 0 0
<br>cpu0 489557 34610 291223 33836777 591595 6156 17548 0 0
<br>intr 36536684 88 2 0 0 2 0 5 0 0 0 0 0 4 0 4293951 1234418 0 0
23992344 0 0 0 0 614648 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 <br>&nbsp;0 0 0
<br>ctxt 69853985
<br>btime 1242460608
<br>processes 473739
<br>procs_running 2
<br>procs_blocked 0
<br></b><br><br>...
<br><br>Thank you all for your help!
        
                
</span></span><br /><hr />Votre correspondant a choisi Hotmail et profite d'un stockage quasiment illimité. <a href='http://www.windowslive.fr/hotmail/default.asp' target='_new'> Créez un compte Hotmail gratuitement !</a></body>
</html>