[mrtg] No Data (again)
andrea.corelli
andrea.corelli at modamusic.it
Mon Jan 31 11:08:03 CET 2011
Hi Steve, thanks for your quick reply. A few more data further to your good
points:
1) Webpages are updated every 5 minutes and here is the /etc/cron.d/mrtg
file:
2) /var/www/html and all its content is set to 777 and anyway graph files
are dated correctly after each execution of the crontab
3) I did. Here are the logs:
2011-01-31 11:02:40 -- Started mrtg with config '/etc/mrtg/mrtg.cfg'
2011-01-31 11:02:40 -- Monday, 31 January 2011 at 11:02: ERROR:
Target[r1][_IN_] 'public at 127.0.0.1' (warn): (Missing operator before ?)
2011-01-31 11:02:40 -- Monday, 31 January 2011 at 11:02: ERROR:
Target[r1][_OUT_] 'public at 127.0.0.1' (warn): (Missing operator before ?)
What does this mean? Any more clues?
Thanks,
Andrea
S Shipway wrote:
>
> What happens when you run MRTG to collect the data?
>
> Either the data are not being gathered (scheduler or SNMP issue) or they
> cannot be stored (permissions issue)
>
> 1. Make sure you are actually runnning MRTG -- either as a daemon, or via
> cron every 5min.
> 2. Make sure the appropriate directories and files are writeable by the
> mrtg process
> 3. Run MRTG interactively as the normal user it runs as. Is it producing
> any error messages that might clue you in to why the data are not being
> gathered?
>
> Steve
>
> Steve Shipway
> University of Auckland ITS
> UNIX Systems Design Lead
> s.shipway at auckland.ac.nz
> Ph: +64 9 373 7599 ext 86487
>
>
> ________________________________________
> From: mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch
> [mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] on behalf of
> andrea.corelli [andrea.corelli at modamusic.it]
> Sent: Monday, 31 January 2011 10:23 a.m.
> To: mrtg at lists.oetiker.ch
> Subject: [mrtg] No Data (again)
>
> Hi people!
> First of all thank you so much for taking your time to read this and see
> if
> you can spot anything that causes my troubles. I have searching a little
> on
> the forum and I did not find anyone having similar trobles.
>
> I have MRTG running on a 5.5 final CentOS Linux. Pages and graphs are
> generated correctly but apparently the traffic is not monitored for some
> reasons.
>
> mrtg.cfg
>
> HtmlDir: /var/www/mrtg
> ImageDir: /var/www/mrtg
> LogDir: /var/lib/mrtg
> ThreshDir: /var/lib/mrtg
> Target[r1]: public at 127.0.0.1
> MaxBytes[r1]: 1250000
> Title[r1]: Traffic Analysis
> PageTop[r1]: <H1>Stats for our Ethernet</H1>
>
> snmp.conf
>
> com2sec local localhost public
> group public any local
> view all included .1 80
> access public "" any noauth 0 all none none
> trapsink 127.0.0.1 public
> trap2sink 127.0.0.1 public
> mibs +MIB-Dell-10892:StorageManagement-MIB
>
> The public webpage is here: http://www.listen.to.it/mrtg/r1.html
>
> Anyone got any clues? Please excuse my ignorance in advance.
> Thanks,
> Andrea
> --
> View this message in context:
> http://mrtg-mailinglists.795376.n2.nabble.com/No-Data-again-tp5975466p5975466.html
> Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
>
S Shipway wrote:
>
> What happens when you run MRTG to collect the data?
>
> Either the data are not being gathered (scheduler or SNMP issue) or they
> cannot be stored (permissions issue)
>
> 1. Make sure you are actually runnning MRTG -- either as a daemon, or via
> cron every 5min.
> 2. Make sure the appropriate directories and files are writeable by the
> mrtg process
> 3. Run MRTG interactively as the normal user it runs as. Is it producing
> any error messages that might clue you in to why the data are not being
> gathered?
>
> Steve
>
> Steve Shipway
> University of Auckland ITS
> UNIX Systems Design Lead
> s.shipway at auckland.ac.nz
> Ph: +64 9 373 7599 ext 86487
>
>
> ________________________________________
> From: mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch
> [mrtg-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] on behalf of
> andrea.corelli [andrea.corelli at modamusic.it]
> Sent: Monday, 31 January 2011 10:23 a.m.
> To: mrtg at lists.oetiker.ch
> Subject: [mrtg] No Data (again)
>
> Hi people!
> First of all thank you so much for taking your time to read this and see
> if
> you can spot anything that causes my troubles. I have searching a little
> on
> the forum and I did not find anyone having similar trobles.
>
> I have MRTG running on a 5.5 final CentOS Linux. Pages and graphs are
> generated correctly but apparently the traffic is not monitored for some
> reasons.
>
> mrtg.cfg
>
> HtmlDir: /var/www/mrtg
> ImageDir: /var/www/mrtg
> LogDir: /var/lib/mrtg
> ThreshDir: /var/lib/mrtg
> Target[r1]: public at 127.0.0.1
> MaxBytes[r1]: 1250000
> Title[r1]: Traffic Analysis
> PageTop[r1]: <H1>Stats for our Ethernet</H1>
>
> snmp.conf
>
> com2sec local localhost public
> group public any local
> view all included .1 80
> access public "" any noauth 0 all none none
> trapsink 127.0.0.1 public
> trap2sink 127.0.0.1 public
> mibs +MIB-Dell-10892:StorageManagement-MIB
>
> The public webpage is here: http://www.listen.to.it/mrtg/r1.html
>
> Anyone got any clues? Please excuse my ignorance in advance.
> Thanks,
> Andrea
> --
> View this message in context:
> http://mrtg-mailinglists.795376.n2.nabble.com/No-Data-again-tp5975466p5975466.html
> Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>
>
--
View this message in context: http://mrtg-mailinglists.795376.n2.nabble.com/No-Data-again-tp5975466p5976654.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.
More information about the mrtg
mailing list