Search found 16 matches

by Hinzel
Wed Jul 07, 2010 8:03 am
Forum: Plugin General
Topic: Report plugin ''ReportIt" - v0.7.5a (released 23/12/11)
Replies: 993
Views: 643130

hmmm it's not breaking any of my reports, but would this be safer?

Code: Select all

    $valids['signs']['S']               = array('(', ')', '.', ',');
    $valids['signs']['R']               = array('L', 'R', '.', ',');
by Hinzel
Wed Jul 07, 2010 5:39 am
Forum: Plugin General
Topic: Report plugin ''ReportIt" - v0.7.5a (released 23/12/11)
Replies: 993
Views: 643130

Couple more modifications done, and this is now working. in lib_int/func_validate.php: $valids['operators']['S'] = array('+','-','*','/',','); $valids['operators']['R'] = array('+','-','*','/',','); in lib_int/const_measurands.php 'f_hgh' => 'Returns higher value of 2 floats', 'f_low' => 'Returns lo...
by Hinzel
Wed Jul 07, 2010 3:57 am
Forum: Plugin General
Topic: Report plugin ''ReportIt" - v0.7.5a (released 23/12/11)
Replies: 993
Views: 643130

Hello Hinzel! Many thanks for your feedback. I'm planning to release 0.7.3 within the next weeks which will include some bug fixes and some improvements. Please open a feature request: http://sourceforge.net/tracker/?group_id=201406&atid=977438 . That makes it easy for me to keep requests in mi...
by Hinzel
Tue Jul 06, 2010 5:53 am
Forum: Plugin General
Topic: Report plugin ''ReportIt" - v0.7.5a (released 23/12/11)
Replies: 993
Views: 643130

Really cool plugin... have run into an issue and am not sure if there is a way to solve this. Is there a way to compare 2 items and return the larger one? I ask this as I am attempting to setup 95th percentile reports, which work as is right now. However the way that 95th works with most of our prov...
by Hinzel
Sat Jun 26, 2010 3:27 am
Forum: Scripts and Templates
Topic: Juniper BGP received prefixes - Script query
Replies: 8
Views: 6398

Whoops, figured out the issue on this one. Did not have a valid results being returned for "query index". This has since been fixed, and updated script query can be found below. If anyone has any interest in this query I can provide my data template, graph template, and data query setup. H...
by Hinzel
Sat Jun 26, 2010 1:39 am
Forum: Scripts and Templates
Topic: Juniper BGP received prefixes - Script query
Replies: 8
Views: 6398

I have added this to a secondary cacti instance i have running, and turned debugging up to the highest level.

I see polling for other OIDs showing up for this host in the log file, but nothing for this actual query. Also there are no errors or anything, just nothing shows up in the logs.
by Hinzel
Sat Jun 26, 2010 1:37 am
Forum: Scripts and Templates
Topic: Juniper BGP received prefixes - Script query
Replies: 8
Views: 6398

<?php /* do NOT run this script through a web browser */ if (!isset($_SERVER["argv"][0]) || isset($_SERVER['REQUEST_METHOD']) || isset($_SERVER['REMOTE_ADDR'])) { die("<br><strong>This script is only meant to run at the command line.</strong>"); } $no_http_headers = true; includ...
by Hinzel
Sat Jun 26, 2010 1:35 am
Forum: Scripts and Templates
Topic: Juniper BGP received prefixes - Script query
Replies: 8
Views: 6398

Juniper BGP received prefixes - Script query

Hey All, I have created a script query to graph the # of received prefixes over a BGP session. The script itself works from the command line when passing arguments to it, and I can add it to a device in Cacti as a data query and successfully retrieve indexes, peer ip, # of received prefixes, etc... ...
by Hinzel
Sun Jun 20, 2010 2:16 pm
Forum: Scripts and Templates
Topic: Re-poll all devices from CLI
Replies: 3
Views: 1932

Added a couple things.

Original script only ran with a data query id of 1, script now accepts the parameter "--id=$param_num" so you can re-poll any data query you would like.
by Hinzel
Sun Jun 20, 2010 12:05 pm
Forum: Scripts and Templates
Topic: Re-poll all devices from CLI
Replies: 3
Views: 1932

gandalf wrote:Voting for accepting your script on 088.
Do you grant copyright to The Cacti Group for it?
R.
Absolutely, feel free to modify/distribute as you see fit.

Nice work on autom8 by the way :)
by Hinzel
Sun Jun 20, 2010 11:16 am
Forum: Scripts and Templates
Topic: Re-poll all devices from CLI
Replies: 3
Views: 1932

Re-poll all devices from CLI

Hey, I wrote a quick and dirty little PHP script that you can run from the shell which will re-poll every device in cacti. This is beneficial for our setup as we have a lot of access layer switches where the port descriptions frequently change, and having to manually re-poll each device causes a lot...
by Hinzel
Wed Jun 09, 2010 1:57 pm
Forum: Plugin Announcements
Topic: Syslog 1.0 Released
Replies: 150
Views: 109354

I'm unable to run this on my system, get a number of errors. I'll post the output below. The following shows up in my cacti log several times: 06/09/2010 11:49:01 AM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1064', SQL:"SELECT hex FROM colors WHERE id=" I get an error on screen t...
by Hinzel
Fri Jun 04, 2010 6:02 pm
Forum: Help: General
Topic: Cacti on Hip hop (compiled PHP)
Replies: 1
Views: 692

Cacti on Hip hop (compiled PHP)

Anyone have any experience running cacti on this?

http://wiki.github.com/facebook/hiphop- ... installing

If so, any short comings or performance gains? Just wondering if it is worth trying.

Thanks!
by Hinzel
Wed Jun 02, 2010 6:32 pm
Forum: Help: General
Topic: Faster Polling
Replies: 1
Views: 681

spine would be the first one, boost would be the second

info on both is available on the main site (check the docs section for boost)
by Hinzel
Tue May 25, 2010 1:23 pm
Forum: Addons for Cacti
Topic: Nagios - can it do what I want?
Replies: 5
Views: 5357

thold does this quite well..... i have a slightly modified version of thold that i use for this purpose. using 1 minute polling we know of any deviations on any of our upstreams within 2 mins at the latest