Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Jun 17, 2019 2:36 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 97 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
 Post subject:
PostPosted: Mon Feb 20, 2006 1:49 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
Thanks for posting that. I will give it a try. Does anyone know, what additional OIDs whould yield interesting results?
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: what I would like to see
PostPosted: Wed Feb 22, 2006 1:51 am 
Offline
Cacti User

Joined: Sat Jul 30, 2005 2:15 pm
Posts: 148
lvm wrote:
Thanks for posting that. I will give it a try. Does anyone know, what additional OIDs whould yield interesting results?
Reinhard


If we could get these graphs to work, I'd like to see these:

Code:
SQUID-MIB::cacheRequestHitRatio.1 = INTEGER: 0
SQUID-MIB::cacheRequestHitRatio.5 = INTEGER: 0
SQUID-MIB::cacheRequestHitRatio.60 = INTEGER: 0


Top
 Profile  
 
 Post subject: additional squid templates
PostPosted: Fri Mar 16, 2007 7:54 am 
Offline

Joined: Tue Mar 01, 2005 11:59 am
Posts: 10
Hey guys, i have some other templates that i use to monitor my squid servers and their performance. Hopefully they help someone else.


Attachments:
File comment: Shows hit, miss and dns service times. This has saved me a couple times as well.
cacti_graph_template_squid_http_service_times.xml [19.55 KiB]
Downloaded 3822 times
File comment: Shows the amount of requests and hits.
cacti_graph_template_squid_http_requests.xml [16.23 KiB]
Downloaded 3228 times
File comment: Looks to be pretty close to the data template that was initially posted but this one also includes data saved and it's percentage.
cacti_graph_template_squid_http_data.xml [23.49 KiB]
Downloaded 3286 times
File comment: Shows remaining file descriptors. We ran out once and began moniroting.
cacti_graph_template_squid_file_descriptors.xml [14.38 KiB]
Downloaded 2824 times
File comment: Shows total cache, used cache and amount of objects. The Y axis doesn't jive as its the number of objects AND cache size in MB, but i didn't want separate graphs.
cacti_graph_template_squid_cache.xml [19.58 KiB]
Downloaded 2913 times
Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 16, 2007 9:13 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
Would you please mind to post some screenshots?
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 20, 2007 5:00 am 
Offline

Joined: Mon Mar 19, 2007 5:34 am
Posts: 2
gandalf wrote:
Would you please mind to post some screenshots?
Reinhard


Attachments:
graph_image_time.png
graph_image_time.png [ 29 KiB | Viewed 21143 times ]
graph_image_objects.png
graph_image_objects.png [ 19.83 KiB | Viewed 21144 times ]
graph_image_httpreq.png
graph_image_httpreq.png [ 36 KiB | Viewed 21145 times ]
graph_image_httpdata.png
graph_image_httpdata.png [ 38.81 KiB | Viewed 21146 times ]
graph_image_filedescr.png
graph_image_filedescr.png [ 31.28 KiB | Viewed 21149 times ]
Top
 Profile  
 
 Post subject: New template pics
PostPosted: Wed Mar 21, 2007 8:02 am 
Offline

Joined: Tue Mar 01, 2005 11:59 am
Posts: 10
Sorry for the delay, here are some examples.


Attachments:
stimes.png
stimes.png [ 36.89 KiB | Viewed 21127 times ]
req.png
req.png [ 32.4 KiB | Viewed 21127 times ]
data.png
data.png [ 41.48 KiB | Viewed 21127 times ]
FD.png
FD.png [ 22.34 KiB | Viewed 21127 times ]
cache.png
cache.png [ 23.56 KiB | Viewed 21127 times ]
Top
 Profile  
 
 Post subject: Re: additional squid templates
PostPosted: Wed Mar 28, 2007 1:31 am 
Offline
Cacti User
User avatar

Joined: Tue Aug 29, 2006 1:58 am
Posts: 123
Location: Belgium
bshoebottom wrote:
Hey guys, i have some other templates that i use to monitor my squid servers and their performance. Hopefully they help someone else.


Hey,

I'm trying to import these templates, but recieve following error:
Code:
Error: XML: Hash version does not exist.

I'm doing in the left menu 'import templates'
I'm using cacti 0.8.6h


Top
 Profile  
 
 Post subject: Re: additional squid templates
PostPosted: Wed Mar 28, 2007 2:54 am 
Offline

Joined: Wed Mar 28, 2007 2:46 am
Posts: 10
brononi wrote:
bshoebottom wrote:
Hey guys, i have some other templates that i use to monitor my squid servers and their performance. Hopefully they help someone else.


Hey,

I'm trying to import these templates, but recieve following error:
Code:
Error: XML: Hash version does not exist.

I'm doing in the left menu 'import templates'
I'm using cacti 0.8.6h


I experience the same. It's because the graphs were exported with version 0.8.6j.

bshoebottom - is there any way you can backport these to version 'h' or 'i'? I'd really like to use the templates you've offered but the debian cacti release that I use is frozen at 0.8.6i.


Top
 Profile  
 
 Post subject: backport
PostPosted: Wed Mar 28, 2007 7:23 am 
Offline

Joined: Tue Mar 01, 2005 11:59 am
Posts: 10
are there working backport instructions available? I can try, but have a limited schedule.


Top
 Profile  
 
 Post subject: Re: backport
PostPosted: Wed Mar 28, 2007 7:32 am 
Offline

Joined: Wed Mar 28, 2007 2:46 am
Posts: 10
bshoebottom wrote:
are there working backport instructions available? I can try, but have a limited schedule.


To be honest, I don't think so. I guess I'll have to wait for Debian/testing to upgrade to 0.8.6j.

:cry:


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 29, 2007 8:51 pm 
Offline

Joined: Thu Mar 29, 2007 8:47 pm
Posts: 2
Hi All,

I get the following error with the HTTP DATA template from rrdtool and I'm a bit stumped. I tried to hunt through and find what could be causing the problem but I am a bit lacking in knowledge with rrdtool.

Any suggestions out there?

Thanks,
David

Quote:
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="au-bne-squid - HTTP Data" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
DEF:a="/var/www/html/cacti-0.8.6j/rra/aubnesquid_http_data_received_881.rrd":http_data_received:AVERAGE \
DEF:b="/var/www/html/cacti-0.8.6j/rra/aubnesquid_http_data_sent_883.rrd":http_data_sent:AVERAGE \
DEF:c="/var/www/html/cacti-0.8.6j/rra/aubnesquid_http_data_saved_882.rrd":http_data_saved:AVERAGE \
CDEF:cdefa=a,1024,* \
CDEF:cdefe=b,1024,* \
CDEF:cdefi=cdefa,0,EQ,0,cdefb,100,*,cdefa,/,1024,/,IF,0,110,LIMIT,TIME,1175219125,GT,a,a,UN,0,a,IF,IF,TIME,1175219125,GT,b,b,UN,0,b,IF,IF,TIME,1175219125,GT,c,c,UN,0,c,IF,IF,TIME,1175219125,GT,c,c,UN,0,c,IF,IF,+,+,+,*,1024,* \
AREA:cdefa#00CF00:"Received" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Sent" \
GPRINT:cdefe:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Max\:%8.2lf %s\n" \
LINE1:cdefi#FF0000:"Saved" \
GPRINT:cdefi:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefi:MAX:"Max\:%8.2lf %s\n" \
LINE1:c#000000:"Saved %" \
GPRINT:c:LAST:" Current\:%8.2lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:c:MAX:"Max\:%8.2lf %s"
RRDTool Says:

ERROR: invalid rpn expression in: cdefa,0,EQ,0,cdefb,100,*,cdefa,/,1024,/,IF,0,110,LIMIT,TIME,1175219125,GT,a,a,UN,0,a,IF,IF,TIME,1175219125,GT,b,b,UN,0,b,IF,IF,TIME,1175219125,GT,c,c,UN,0,c,IF,IF,TIME,1175219125,GT,c,c,UN,0,c,IF,IF,+,+,+,*,1024,*


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 10, 2007 8:29 pm 
Offline

Joined: Thu Mar 29, 2007 8:47 pm
Posts: 2
Ok, the problem is with this line;

Code:
CDEF:cdefi=cdefa,0,EQ,0,cdefb,100,*,cdefa,/,1024,/,IF,0,110,LIMIT,TIME,1175219125,GT,a,a,UN,0,a,IF,IF,TIME,1175219125,GT,b,b,UN,0,b,IF,IF,TIME,1175219125,GT,c,c,UN,0,c,IF,IF,TIME,1175219125,GT,c,c,UN,0,c,IF,IF,+,+,+,*,1024,* \


The 'cdefb' doesn't exist and instead is called cdefe. I fixed the problem by going to Graph Management -> CDEFS and edit the Squid - Calculate Percentage of Storage item. Edit the first item and changed cdefb to cdefe.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 03, 2007 3:54 pm 
Offline

Joined: Tue May 01, 2007 9:56 am
Posts: 11
The HTTP Data template doesn't work for me as the graph doesn't appear. When I turn on debugging for the Graph Template the drop-down box for the Graph Template list doesn't fully populate and the page doesn't finish loading. Also, in the apache logs the child process keeps crashing:

[Thu May 03 16:50:45 2007] [notice] child pid 10456 exit signal Segmentation fault (11)
[Thu May 03 16:50:47 2007] [notice] child pid 10487 exit signal Segmentation fault (11)
[Thu May 03 16:51:13 2007] [notice] child pid 10517 exit signal Segmentation fault (11)

Gentoo Linux AMD64 2.6.18-hardened
cacti-0.8.6j-r4
net-snmp-5.4
apache-2.0.58-r2
php-5.2.1-r3

I tried apache & php with and without threads, didn't make a difference though.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 04, 2007 4:41 am 
Offline

Joined: Tue May 01, 2007 6:04 am
Posts: 3
Yes, same here.
HTTP-DATA doesn't show any graph.

I'm on OpenSuse10.2

All the other graphs shows wonderfully though.
Very nice :D


Top
 Profile  
 
 Post subject: Fix
PostPosted: Sun May 06, 2007 2:20 am 
Offline

Joined: Sun May 06, 2007 2:16 am
Posts: 1
Graph Templates -> Squid - HTTP Data -> Clear Unit Grid Value textfield.
It worked on my installation (cacti 0.8.6j).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 97 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google Adsense [Bot] and 7 guests


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

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group