Discussion:
Mrtg indexmaker doesnt wanna initiliaze
(too old to reply)
sysadmin
2008-11-02 21:04:27 UTC
Permalink
I installed mrtg,then i installed module on webmin for it,but still
there is some error and nothing show on index.html of mtrg
directory.Cron is installed over webmin module,but nothing show yet.I
see on default is locahost and public on webmin module listed,but when i
clicked add i got error:
Use of uninitialized value in hash element at
/usr/local/mrtg-2/bin/indexmaker line 353.
Here is presently conf file:
WorkDir:/home/bla/public_html/mrtg/
# Created by
# /usr/local/mrtg-2/bin/cfgmaker ***@69.45.45.78

### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no

######################################################################
# System: available9.bla.com
# Description: Linux available9.bla.com 2.6.18-92.el5 #1 SMP Tue Jun 10
18:51:06 EDT 2008 x86_64
# Contact: Root <***@localhost> (configure /etc/snmp/snmp.local.conf)
# Location: Unknown (edit /etc/snmp/snmpd.conf)
Holger Petersen
2008-11-03 16:28:40 UTC
Permalink
Post by sysadmin
I installed mrtg
On which operating-system?
Your header indicates:

User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
Post by sysadmin
then i installed module on webmin for it,
Why?
Post by sysadmin
but still
there is some error
Which one (verbatim!) ?
Post by sysadmin
and nothing show on index.html of mtrg
directory.
Cron is installed over webmin module,but nothing show yet.
Did you put any command for starting mrtg (all 5 minutes)?
Post by sysadmin
I
see on default is locahost and public on webmin module listed,but when i
Whre did you 'click' what?
Post by sysadmin
Use of uninitialized value in hash element at
/usr/local/mrtg-2/bin/indexmaker line 353.
WorkDir:/home/bla/public_html/mrtg/
# Created by
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
Which system are you on?
There should be one (and only one) valid un-commented line?!

This directory schould (pre-) exist and be writable by that
account that mrtg is running under.
sysadmin
2008-11-05 01:19:33 UTC
Permalink
Post by Holger Petersen
Post by sysadmin
I installed mrtg
On which operating-system?
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
Post by sysadmin
then i installed module on webmin for it,
Why?
Post by sysadmin
but still
there is some error
Which one (verbatim!) ?
Post by sysadmin
and nothing show on index.html of mtrg
directory.
Cron is installed over webmin module,but nothing show yet.
Did you put any command for starting mrtg (all 5 minutes)?
Post by sysadmin
I
see on default is locahost and public on webmin module listed,but when i
Whre did you 'click' what?
Post by sysadmin
Use of uninitialized value in hash element at
/usr/local/mrtg-2/bin/indexmaker line 353.
WorkDir:/home/bla/public_html/mrtg/
# Created by
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:\mrtgdata
Which system are you on?
There should be one (and only one) valid un-commented line?!
This directory schould (pre-) exist and be writable by that
account that mrtg is running under.
I resolved problem,problem was in buggy cfgmaker or i copy pasted
something wrong on it which caused generating bad config file.But
considering there is tons of threads when i searched on google about
this it is probaly buggy.Now it does work but i noticed it doesnt detect
properly traffic since it showed only 12 kb of IN traffic and it should
be 10 MB.Then i noticed there is a section which i left commented and i
think it is needed to be uncommmented to generate graph,and it seems i
was right since it started to raise.But again it was go very slow up and
it should be 10 MB traffic.After checking everything billion times and
seeing screenshot of mrtg on other server,i noticed here is reverse
situation-in is low and out is high,while on screenshot was in high and
out low.Is that beacuse of new version of mrtg or different network
settings?And would be possible to change that?(to have in high and out
low traffic)And os is centos 5 64 bit version.

Loading...