[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - After upgrading to router2cgi graphs no longer update

Cheshire Cat Computing

Software support and information
It is currently Wed Nov 12, 2025 4:01 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Mar 03, 2005 3:21 pm 
Offline
User

Joined: Thu Mar 03, 2005 3:13 pm
Posts: 2
I had MRTG installed and working fine, I installed RRDTool and Router2CGI everything installed fine.

but now my crontab string no longer updates the files.

If i run it manually it runs fine

/usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg

it will update everything.

Can't figure out why it failing now.

Crontab
5,35 * * * * root /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg

I'm using this to capture phone reports from a PBX and graph them, but since the upgrade it no longer happen automaticaly.

Any suggestions?

(Running on FreeBSD 5.3/Apache2/Perl5.8/MRTG2.10)


Top
 Profile Send private message  
 
PostPosted: Thu Mar 03, 2005 3:27 pm 
Offline
User

Joined: Thu Mar 03, 2005 3:13 pm
Posts: 2
#Where should the logfiles, and webpages be created?

WorkDir: /usr/local/www/stats/mrtg
Logformat: rrdtool

Refresh: 300

Interval: 5

## WithPeak ------------------------------------------

# By default the graphs only contain the average transfer
# rates for incoming and outgoing traffic. The
# following option instructs mrtg to display the peak
# 5 minute transfer rates in the [w]eekly, [m]onthly and
# [y]early graph. In the example we define the monthly
# and the yearly graph to contain peak as well as average
# values.

# WithPeak[ezwf]: ym

#Trfk Server Reports

#Average Speed of Answer
Target[avespdans]: `perl /var/log/consoles/trfk.pl avespdans`
Options[avespdans]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[avespdans]: 2000
Title[avespdans]: Average Speed of Answer
PageTop[avespdans]: <H1>Average Speed of Answer</H1>
YLegend[avespdans]: Time in Second
ShortLegend[avespdans]: s
Legend1[avespdans]: Average Time to Answer Calls in Seconds Every Half Hour
LegendI[avespdans]: &nbsp;In:
LegendO[avespdans]:

#---------------------

#Average Attendant Response
Target[aveattres]: `perl /var/log/consoles/trfk.pl aveattres`
Options[aveattres]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[aveattres]: 2000
Title[aveattres]: Average Attendant Response
PageTop[aveattres]: <H1>Average Attendant Response</H1>
YLegend[aveattres]: Time in Second
ShortLegend[aveattres]: s
Legend1[aveattres]: Not sure what to put
LegendI[aveattres]: &nbsp;In:
LegendO[aveattres]:

#---------------------

#Calls Delayed Peg Count
Target[calldelay]: `perl /var/log/consoles/trfk.pl calldelay`
Options[calldelay]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[calldelay]: 500
Title[calldelay]: Total Number of Calls Delayed
PageTop[calldelay]: <H1>Total Number of Calls Delayed</H1>
YLegend[calldelay]: Number of Calls
ShortLegend[calldelay]: Calls
Legend1[calldelay]: Number of Calls
LegendI[calldelay]: &nbsp;In:
LegendO[calldelay]:

#---------------------

#Average Time in Queue
Target[avetimqu]: `perl /var/log/consoles/trfk.pl avetimqu`
Options[avetimqu]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[avetimqu]: 2000
Title[avetimqu]: Average Time in Queue
PageTop[avetimqu]: <H1>Average Time in Queue</H1>
YLegend[avetimqu]: Time in Second
ShortLegend[avetimqu]: s
Legend1[avetimqu]: Incoming Traffic in Second
LegendI[avetimqu]: &nbsp;In:
LegendO[avetimqu]:

#---------------------

#Abandoned Calls Peg Count
Target[abndcall]: `perl /var/log/consoles/trfk.pl abndcall`
Options[abndcall]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[abndcall]: 500
Title[abndcall]: Total Number of Abandoned Calls
PageTop[abndcall]: <H1>Total Number of Abandoned Calls</H1>
YLegend[abndcall]: Number of Calls
ShortLegend[abndcall]: Calls
Legend1[abndcall]: Number of Calls
LegendI[abndcall]: &nbsp;In:
LegendO[abndcall]:

#---------------------

#Average Wait Time of Abandons
Target[avetim2abnd]: `perl /var/log/consoles/trfk.pl avetim2abnd`
Options[avetim2abnd]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[avetim2abnd]: 2000
Title[avetim2abnd]: Average Wait Time of Abandoned Callers
PageTop[avetim2abnd]: <H1>Average Wait Time of Abandoned Callers</H1>
YLegend[avetim2abnd]: Time in Second
ShortLegend[avetim2abnd]: s
Legend1[avetim2abnd]: Incoming Traffic in Second
LegendI[avetim2abnd]: &nbsp;In:
LegendO[avetim2abnd]:

#---------------------

#Peg Count - Internal
Target[pegcntint]: `perl /var/log/consoles/trfk.pl pegcntint`
Options[pegcntint]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[pegcntint]: 500
Title[pegcntint]: Total Number of Internal Calls
PageTop[pegcntint]: <H1>Total Number of Internal Calls</H1>
YLegend[pegcntint]: Number of Calls
ShortLegend[pegcntint]: Calls
Legend1[pegcntint]: Number of Calls
LegendI[pegcntint]: &nbsp;In:
LegendO[pegcntint]:

#---------------------

#Total Time Spent - Internal
Target[timint]: `perl /var/log/consoles/trfk.pl timint`
Options[timint]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[timint]: 2000
Title[timint]: Total Times Spend on Internal Calls
PageTop[timint]: <H1>Total Time Spent on Internal Calls</H1>
YLegend[timint]: Time in Seconds
ShortLegend[timint]: s
Legend1[timint]: Time in Seconds
LegendI[timint]: &nbsp;In:
LegendO[timint]:

#---------------------

#Peg Count - External
Target[pegcntext]: `perl /var/log/consoles/trfk.pl pegcntext`
Options[pegcntext]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[pegcntext]: 500
Title[pegcntext]: Total Number of External Calls
PageTop[pegcntext]: <H1>Total Number of External Calls</H1>
YLegend[pegcntext]: Number of Calls
ShortLegend[pegcntext]: Calls
Legend1[pegcntext]: Number of Calls
LegendI[pegcntext]: &nbsp;In:
LegendO[pegcntext]:

#---------------------

#Total Time Spent - External
Target[timext]: `perl /var/log/consoles/trfk.pl timext`
Options[timext]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[timext]: 2000
Title[timext]: Total Time Spent on External Calls
PageTop[timext]: <H1>Total Time Spent on External Calls</H1>
YLegend[timext]: Time in Second
ShortLegend[timext]: s
Legend1[timext]: Time in Seconds
LegendI[timext]: &nbsp;In:
LegendO[timext]:

#---------------------

#Total Time Console Attended
Target[timatn]: `perl /var/log/consoles/trfk.pl timatn`
Options[timatn]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[timatn]: 2000
Title[timatn]: Total Time Staffed
PageTop[timatn]: <H1>Total Time Staffed</H1>
YLegend[timatn]: Time in Second
ShortLegend[timatn]: s
Legend1[timatn]: Time in Seconds
LegendI[timatn]: &nbsp;In:
LegendO[timatn]:

#---------------------

#Total Time Spent Servicing Calls
Target[timser]: `perl /var/log/consoles/trfk.pl timser`
Options[timser]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[timser]: 2000
Title[timser]: Total Time Spent Handling Calls
PageTop[timser]: <H1>Total Time Spent Handling Calls</H1>
YLegend[timser]: Time in Second
ShortLegend[timser]: s
Legend1[timser]: Time in Seconds
LegendI[timser]: &nbsp;In:
LegendO[timser]:

#---------------------

#Number of Times All Attendant Loop Are Busy
Target[loopbsy]: `perl /var/log/consoles/trfk.pl loopbsy`
Options[loopbsy]: gauge, absolute, integer, growright, nopercent, noinfo
MaxBytes[loopbsy]: 500
Title[loopbsy]: Number of Times All Attendant Loops Are Busy
PageTop[loopbsy]: <H1>Number of Times All Attendant Loops Are Busy</H1>
YLegend[loopbsy]: # Attn Loop Busy
ShortLegend[loopbsy]: #LB
Legend1[loopbsy]: Number of Times All Attendant Loops Are Busy
LegendI[loopbsy]: &nbsp;In:
LegendO[loopbsy]:

#---------------------

Also with MRTG alone you can add this LegendO[loopbsy]: with no options to have it NOT display that line in the graph, how do you do this with now?


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Thu Mar 03, 2005 4:28 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
1) If you are using RRDTool (and therefore have the 'Logformat: rrdtool' in your .cfg files) there are NO .log, .html or .gif files created. Instead, you will get .rrd files created in the Workdir which contain the data.

2) Instead of creating graphs all the time, with routers2/rrdtool they are only created when you need to view them. If you view the /cgi-bin/routers2.cgi script through your web browser, it will create the graphs in the temporary /html/graphs directory as needed.

3) To suppress the 'Outbound' line, use 'Options[targetname]: noo'

See the MRTG documentation for more Options and for details on how it interoperates with RRDTool, and the RRDTool documentation for how RRDTool works.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group