Search found 111 matches

by nebj00la
Fri Dec 10, 2010 6:04 pm
Forum: Help: General
Topic: Data Query From SNMP Table
Replies: 26
Views: 9222

Re: Data Query From SNMP Table

Thanks for your response.
by nebj00la
Wed Jun 02, 2010 7:53 pm
Forum: Help: General
Topic: Strange behavior with cmd.php/spine and a script
Replies: 20
Views: 9900

That would be great. Thanks for the update!
by nebj00la
Wed Jun 02, 2010 3:00 pm
Forum: Help: General
Topic: Strange behavior with cmd.php/spine and a script
Replies: 20
Views: 9900

if "index" is a valid object, this should be ok. But it depends on the exact script code. R. Yeah, that's the problem. index is not a valid get object. Why would cacti be asking for it? Is it a standard that the script needs to be adjusted to meet? Right now the index displays the availab...
by nebj00la
Wed Jun 02, 2010 11:07 am
Forum: Help: General
Topic: Strange behavior with cmd.php/spine and a script
Replies: 20
Views: 9900

I'd like to understand why cacti/spine is trying to get the following information, which clearly fails due to no logic for the argument "get index" in the script: w.x.y.z = ASA a.b.c.d = Peer IP 06/02/2010 12:03:10 PM - SPINE: Poller[0] Host[7] ERROR: Empty result [w.x.y.z]: 'perl /usr/loc...
by nebj00la
Wed Jun 02, 2010 10:07 am
Forum: Help: General
Topic: Strange behavior with cmd.php/spine and a script
Replies: 20
Views: 9900

The v2c improves response time by 8 seconds, ie. 12 seconds instead of 20 seconds.

This particular ASA has 90ms delay with 15 tunnel groups.

Code: Select all

smokeping: min:92.420 avg:92.496 max:92.598 dev:0.416 loss:0
by nebj00la
Tue Jun 01, 2010 8:23 pm
Forum: Help: General
Topic: Strange behavior with cmd.php/spine and a script
Replies: 20
Views: 9900

Thanks, I'll try this first thing tomorrow morning.
by nebj00la
Tue Jun 01, 2010 5:24 pm
Forum: Help: General
Topic: Strange behavior with cmd.php/spine and a script
Replies: 20
Views: 9900

I'd like to bring this discussion back into light, as I must change from cmd.php to spine. Performance issues are preventing this from working efficiently. Setarcos, can you let me know what's going on when the following is executed? It's taking 30 seconds to return the value: perl /usr/local/cacti/...
by nebj00la
Wed Feb 03, 2010 1:09 pm
Forum: Scripts and Templates
Topic: Cisco ASA/PIX VPN Statistics
Replies: 93
Views: 110521

This script will not work with the poller configured as spine/cactid. Here's a thread I've started to discuss the issue: http://forums.cacti.net/viewtopic.php?t=35963 Technically, here is why it's failing: ...it[the script] uses multiple prints to output the ASA specs, it will fail under spine. You ...
by nebj00la
Wed Feb 03, 2010 1:07 pm
Forum: Help: General
Topic: Strange behavior with cmd.php/spine and a script
Replies: 20
Views: 9900

TheWitness wrote:The script is defective. Since it uses multiple prints to output the ASA specs, it will fail under spine. You need to, internal to the script, maintain a buffer and output all at once.

TheWitness
Thanks for the information!
by nebj00la
Tue Feb 02, 2010 3:48 pm
Forum: Help: General
Topic: Strange behavior with cmd.php/spine and a script
Replies: 20
Views: 9900

Strange behavior with cmd.php/spine and a script

For some reason, which I can't figure out, this is working with cmd.php, and not spine. Thought it works with cmd.php, it throws errors every time, which leads me to believe something is not right either way. Here's the data query: <interface> <name>Get Cisco ASA/PIX VPN Statistics</name> <script_pa...
by nebj00la
Tue Nov 03, 2009 3:18 pm
Forum: Scripts and Templates
Topic: Netscreen Template to monitor traffic for sub-interfaces
Replies: 26
Views: 74403

I needed to graph tunnel interfaces while tracking the interface speed (gathered via the parent physical interface), so the attached template is used.

Credit goes to jay for the majority of the template work.
by nebj00la
Thu Oct 15, 2009 12:26 pm
Forum: Scripts and Templates
Topic: Smoke-ping 0.86c
Replies: 90
Views: 164464

In my case, the existing regex was catching some garbage ("pipe 3"). This script works: #!/usr/bin/perl # Ping latency script used for "Smoke Ping" graph template within Cacti $host = $ARGV[0]; # Ping the specified host with 11 ECHO_REQUEST packets, 3 of which don't wait for a re...
by nebj00la
Thu Oct 15, 2009 10:41 am
Forum: Scripts and Templates
Topic: Smoke-ping 0.86c
Replies: 90
Views: 164464

For what it's worth, I couldn't get the perl script to work as written. Here's the script that works for me: #!/usr/bin/perl $host = $ARGV[0]; open (PING, "ping -nqc 5 $host|"); while (<PING>) { if ($_ =~ /(\d+)% packet loss/) { $loss = $1; } if ($_ =~ /= (.+)\/(.+)\/(.+)\/(.+)/) { ($min,$...
by nebj00la
Tue Jul 21, 2009 3:59 pm
Forum: Scripts and Templates
Topic: Script for netscreen vpn interfaces with ifSpeed
Replies: 6
Views: 3826

I think you need an indexed query instead - the aim is to get one graph per vpn right? so the index is some identifier for each vpn (either the interface number if they are all tunnel interfaces, or the endpoint IP or something)... For Cacti to do that, you need to write a script that understands a...
by nebj00la
Tue Jul 21, 2009 3:10 pm
Forum: Scripts and Templates
Topic: Script for netscreen vpn interfaces with ifSpeed
Replies: 6
Views: 3826

Here's the output of the bash script: [jtomawski@host]/scripts% ./netscreen_tunnel_interfaces.sh testhost notshowing vpn1:0:125000000:0:0 vpn2:1:125000000:1447840704:1634286657 vpn3:2:125000000:2399037376:3980692710 vpn4:3:125000000:1790073088:3591907615 vpn5:4:125000000:1150631920:3389572220 vpn6:5...