[mrtg] some graph KO under fresh mrtg ubuntu 9 server install
kbumbaz
kbumbaz at hotmail.com
Wed May 20 12:06:43 CEST 2009
Hi All,
I have freshly installed MRTG under my ubuntu server 9, but some graphs are
KO:
http://img32.imageshack.us/my.php?image=59013636.jpg screenshot
here is the results of the cron command:
env LANG=C /usr/bin/mrtg /var/www/mrtg/mrtg-sys/mrtg_bagnolar.cfg
2009-05-20 11:47:29: WARNING: Problem with External get
'/var/www/mrtg/mrtg-sys/diskrw.pl':
Expected a Number for 'in' but got ''
2009-05-20 11:47:29: WARNING: Problem with External get
'/var/www/mrtg/mrtg-sys/diskrw.pl':
Expected a Number for 'out' but got ''
Looking up 127.0.0.1
Making HTTP connection to 127.0.0.1
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://127.0.0.1/ovh-status
2009-05-20 11:47:29: WARNING: Problem with External get
'/var/www/mrtg/mrtg-sys/apache.pl':
Expected a Number for 'in' but got ''
2009-05-20 11:47:29: WARNING: Problem with External get
'/var/www/mrtg/mrtg-sys/apache.pl':
Expected a Number for 'out' but got ''
Looking up 127.0.0.1
Making HTTP connection to 127.0.0.1
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://127.0.0.1/ovh-status
2009-05-20 11:47:29: WARNING: Problem with External get
'/var/www/mrtg/mrtg-sys/apache2.pl':
Expected a Number for 'in' but got ''
2009-05-20 11:47:30: ERROR: Target[bagnolar_cpu][_IN_] ' $target->[2]{$mode}
' evaluated to 'NaN' instead of a number
2009-05-20 11:47:30: ERROR: Target[bagnolar_rw][_IN_] ' $target->[5]{$mode}
' did not eval into defined data
2009-05-20 11:47:30: ERROR: Target[bagnolar_rw][_OUT_] ' $target->[5]{$mode}
' did not eval into defined data
2009-05-20 11:47:30: ERROR: Target[bagnolar_apache][_IN_] '
$target->[10]{$mode} ' did not eval into defined data
2009-05-20 11:47:30: ERROR: Target[bagnolar_apache][_OUT_] '
$target->[10]{$mode} ' did not eval into defined data
2009-05-20 11:47:30: ERROR: Target[bagnolar_apache2][_IN_] '
$target->[11]{$mode} ' did not eval into defined data
r
I can undestand some of them, for ex: my apache server is not running under
80, but under another port
- how to modify that
- why http://127.0.0.1/ovh-status ??? my installation is not linked with OVH
(maybe template solution).
- if i open the script /var/www/mrtg/mrtg-sys/diskrw.pl I can see command :
cat /proc/stat | grep disk_io regarding the file /proc/stat, there is
nothing inside linked with disk ioM
cat /proc/stat
cpu 489557 34610 291223 33836777 591595 6156 17548 0 0
cpu0 489557 34610 291223 33836777 591595 6156 17548 0 0
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
0 0 0
ctxt 69853985
btime 1242460608
processes 473739
procs_running 2
procs_blocked 0
...
Thank you all for your help!
--
View this message in context: http://n2.nabble.com/some-graph-KO-under-fresh-mrtg-ubuntu-9-server-install-tp2945316p2945316.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.
More information about the mrtg
mailing list