Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support
It is currently Mon May 21, 2012 9:34 am


ATTENTION: All users passwords have been cleared.
Please use the "Forgot Password" feature to reset your password.


All times are UTC - 5 hours




Post new topic Reply to topic  [ 195 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 13  Next
Author Message
 Post subject: Re: No SNMP data returned => f5_bigip_vs.xml
PostPosted: Tue Oct 02, 2007 12:12 pm 
Offline

Joined: Thu Apr 19, 2007 5:33 pm
Posts: 11
hansklose wrote:
Hi I tried your template but when i want to create the graphs i get
this message for the virtual server:

+ Running data query [14].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/tpadmin.thinprint.de/cacti/resource/snmp_queries/f5_bigip_vs.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.3375.2.2.10.2.3.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/tpadmin.thinprint.de/cacti/resource/snmp_queries/f5_bigip_vs.xml'
+ Found data query XML file at '/var/www/tpadmin.thinprint.de/cacti/resource/snmp_queries/f5_bigip_vs.xml'
+ Found data query XML file at '/var/www/tpadmin.thinprint.de/cacti/resource/snmp_queries/f5_bigip_vs.xml'

When i use snmpwalk i get the names for my virtual hosts.
I read something about "UCD-SNMP 4.x (I'm using 5.x)" but can't find
a sollution.

How can i fix it?

Thanks Hans


I get that exact same result. Have you found a solution?


Top
 Profile  
 
 Post subject: f5 cacti template
PostPosted: Sun Oct 14, 2007 9:58 am 
Offline

Joined: Wed Oct 10, 2007 5:56 am
Posts: 4
Hi,

Thanks a lot for the template :lol: Works perfect.

_________________
Alex W.
http://www.MyWebsiteAdviser.com


Top
 Profile  
 
 Post subject: Re: f5 cacti template
PostPosted: Sun Oct 14, 2007 10:00 pm 
Offline
Cacti User

Joined: Mon Dec 11, 2006 10:17 am
Posts: 216
Is there a way to monitor the CPU utilization of the BigIP? SNMP-NET based CPU templates do not show correct information when the appliance is running version 9.3 or later. None of the Linux tools shows the correct information, because 100% CPU time is reserved (taken) by TMM. Is there a way to monitor how much of the CPU time taken by TMM is really used in order to balance traffic? Some SNMP OID perhaps?


Top
 Profile  
 
 Post subject: tmm cpu.
PostPosted: Tue Oct 16, 2007 6:41 pm 
Offline

Joined: Mon Jun 04, 2007 1:36 pm
Posts: 22
The calculation is kind of a pain. Here's a pic of the f5 doc explaining how to do it. I imagine this can be implemented as a php script, but haven't gotten that far yet :-/

In the meantime, tmstat from the command line will give you some idea of load.


Attachments:
tmm-cpu-calc.jpg
tmm-cpu-calc.jpg [ 56.46 KiB | Viewed 8428 times ]
Top
 Profile  
 
 Post subject: template import problem?
PostPosted: Tue Oct 16, 2007 6:52 pm 
Offline

Joined: Mon Jun 04, 2007 1:36 pm
Posts: 22
Version 0.8.6j

When trying to update my bigip host template to:
F5_BigIP_v9-Host_Template-rev_6.xml

I get the following error when trying to import it:

Error: XML: Cacti version does not exist.

I had seen something in the forums that this might happen if the template was created with a newer version of cacti, but in this case, I thought newer versions of cacti were OK with older templates.

Any suggestions?

TIA


Top
 Profile  
 
 Post subject: Re: tmm cpu.
PostPosted: Sun Oct 21, 2007 9:46 pm 
Offline
Cacti User

Joined: Mon Dec 11, 2006 10:17 am
Posts: 216
pwohlers wrote:
The calculation is kind of a pain. Here's a pic of the f5 doc explaining how to do it. I imagine this can be implemented as a php script, but haven't gotten that far yet :-/

In the meantime, tmstat from the command line will give you some idea of load.


pwohlers,

Thanks for your response. Yes, I this seems to be a bit of pain. Well, I hope that someone more advanced in Cacti will help. Anyone?

Thanks,
AL


Top
 Profile  
 
 Post subject: Re: template import problem?
PostPosted: Mon Oct 22, 2007 3:22 pm 
Offline

Joined: Mon Jun 04, 2007 1:36 pm
Posts: 22
pwohlers wrote:
Version 0.8.6j

When trying to update my bigip host template to:
F5_BigIP_v9-Host_Template-rev_6.xml

I get the following error when trying to import it:

Error: XML: Cacti version does not exist.

I had seen something in the forums that this might happen if the template was created with a newer version of cacti, but in this case, I thought newer versions of cacti were OK with older templates.

Any suggestions?

TIA


self-help answer:

this fixed it:

in file:
/var/www/cacti/include/config_arrays.php


$hash_version_codes = array(
"0.8.4" => "0000",
"0.8.5" => "0001",
"0.8.5a" => "0002",
"0.8.6" => "0003",
"0.8.6a" => "0004",
"0.8.6b" => "0005",
"0.8.6c" => "0006",
"0.8.6d" => "0007",
"0.8.6e" => "0008",
"0.8.6f" => "0009",
"0.8.6g" => "0010",
"0.8.6h" => "0011",
"0.8.6i" => "0012",
+ "0.8.6j" => "0013"
);

adding that one line fixed it. Why that wasn't automagically there i'll attribute to some sort of pilot error on the upgrade/migration we did a few months back. ymmv.


Top
 Profile  
 
 Post subject: thanks!
PostPosted: Wed Oct 24, 2007 5:47 pm 
Offline
Cacti User

Joined: Wed Oct 24, 2007 5:47 pm
Posts: 203
Location: San Francisco, CA
Works great. One gotcha is to be sure to use v2c and configure your bigip appropriately. v1 does not work!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 09, 2007 8:18 pm 
Offline

Joined: Fri Nov 09, 2007 7:52 pm
Posts: 8
Sorry to cross-post like a jerk, but I ran into some funny issues importing this into a cacti setup I've "inherited" where I work. :)

The "VS connections" related queries were returning the infamous "duplicate data source" error because the "F5 BigIP - VS Traffic" data template was importing with duplicate "traffic_in" data source items. If you're running into the same problem, it's probably related to having extra interface data templates. Below is the thread where I'm trying to get it straightened out:

http://forums.cacti.net/viewtopic.php?t=24232


I'm dropping a link here in case someone has some insight into why this might be happening, if it is not in fact related to having extra interface data templates.


Top
 Profile  
 
 Post subject: CPU Monitoring
PostPosted: Thu Nov 29, 2007 6:07 pm 
Offline

Joined: Thu Nov 29, 2007 5:48 pm
Posts: 4
Location: St Louis, MO
I am using the attached perl script, data template, and graph template to monitor TMM CPU Utilization. The perl script goes in <cacti_path>/scripts/


Attachments:
f5-bigip-tmm-cpu.pl [1.21 KiB]
Downloaded 464 times
graph_template_tmm_cpu_usage.xml [8.41 KiB]
Downloaded 718 times
data_template_tmm_cpu_usage.xml [4.25 KiB]
Downloaded 340 times
Top
 Profile  
 
 Post subject: cpu template
PostPosted: Fri Dec 07, 2007 6:36 pm 
Offline

Joined: Fri Dec 07, 2007 6:34 pm
Posts: 2
That CPU template is not correct. First off, you need to pull twice waiting 10 seconds between and do the calculations on the delta's. Secondly, the TMM is nearly always 100% by design, so there isn't much point to graphing that out.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 07, 2007 8:54 pm 
Offline

Joined: Thu Nov 29, 2007 5:48 pm
Posts: 4
Location: St Louis, MO
The calculation is verbatim out of F5's documentation for TMM's utilization of the CPU. It works quite well in my environment, matching the F5 performance graph line for TMM exactly.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 09, 2007 11:38 pm 
Offline
Cacti User

Joined: Mon Dec 11, 2006 10:17 am
Posts: 216
citizen_elah wrote:
The calculation is verbatim out of F5's documentation for TMM's utilization of the CPU. It works quite well in my environment, matching the F5 performance graph line for TMM exactly.


Agreed, but it does not look that your perl script waits for 10 seconds before polling the second value... F5 documentation states that you need to wait these 10 seconds.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 10, 2007 8:01 am 
Offline

Joined: Thu Nov 29, 2007 5:48 pm
Posts: 4
Location: St Louis, MO
Missed that. Doesn't seem to impact my results, however. I suppose that 10s delta versus the 5 min delta I already have is to smooth the data? In any event, if you want to edit the script, you can add a second poll and change the calculation:

Code:
sleep 10;
my $polled_oids_1 = $session->get_request(
                  -varbindlist =>
                  [$tmmTotalCyl, $tmmIdleCyl, $tmmSleepCyl] );

my $tmm_cpu = (( ($polled_oids_1->{$tmmTotalCyl} - $polled_oids_0->{$tmmTotalCyl}) -
                ( ($polled_oids_1->{$tmmIdleCyl} - $polled_oids_0->{$tmmIdleCyl}) +
                ($polled_oids_1->{$tmmSleepCyl} - $polled_oids_0->{$tmmSleepCyl}) ))
                / ($polled_oids_1->{$tmmTotalCyl} - $polled_oids_0->{$tmmTotalCyl}) ) * 100 ;
[/code]


Last edited by citizen_elah on Mon Dec 10, 2007 8:25 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 10, 2007 8:15 am 
Offline
Cacti User

Joined: Mon Dec 11, 2006 10:17 am
Posts: 216
citizen_elah wrote:
Missed that. Doesn't seem to impact my results, however. I suppose that 10s delta versus the 5 min delta I already have is to smooth the data? In any event, if you want to the script, you can add a second poll and change the calculation...


Thanks for your contribution!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 195 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 13  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: prospero63 and 10 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