Search found 8 matches

by dignome
Thu Sep 22, 2011 10:03 am
Forum: Scripts and Templates
Topic: Python script
Replies: 1
Views: 1676

Re: Python script

The cacti poller user most likely does not have permission to access /dev/ttyUSB0. Check the user/group permissions and see how it is being called by cron.
by dignome
Fri Feb 25, 2011 3:05 pm
Forum: Scripts and Templates
Topic: Veiw dropped packets on Cisco devices.
Replies: 3
Views: 6794

Re: Veiw dropped packets on Cisco devices.

Yes, ifInDiscards is only a subset of locIfInputQueueDrops while ifOutDiscards is the same as locIfOutputQueueDrops. The below cisco article talks about this near the bottom of the page: http://www.cisco.com/en/US/tech/tk648/tk362/technologies_q_and_a_item09186a00800b69ac.shtml "What is the relation...
by dignome
Thu Feb 24, 2011 9:50 am
Forum: Scripts and Templates
Topic: 2 differents script in Data Query & Data Input Method?
Replies: 3
Views: 889

Re: 2 differents script in Data Query & Data Input Method?

Hi. I remember when adding index support to my script it was necessary to check "Use Per-Graph Value (Ignore this Value)" under the graph template definition for "Title (--title)." Then under "Data Queries" for the associated graph template one would add a field for "Suggested Values -> Graph Templa...
by dignome
Thu Feb 24, 2011 1:01 am
Forum: Scripts and Templates
Topic: Veiw dropped packets on Cisco devices.
Replies: 3
Views: 6794

Re: Veiw dropped packets on Cisco devices.

Hi. I'm thinking you would use data query "snmp - interface statistics." In which case you would chose to graph Errors/Discarded Packets.
by dignome
Fri Feb 11, 2011 9:51 pm
Forum: Scripts and Templates
Topic: Updated 02/26/11 Script + Templates for Ubiquiti AirOS (SSH)
Replies: 8
Views: 12762

Re: Updated 02/04/11 Script + Templates for Ubiquiti AirOS (

Hi. I opened a ticket for you here: http://code.google.com/p/scgrab/issues/detail?id=1 Please try the updated script attached in that ticket. If you are still having problems please use the ticket system above and let me know a few additional details such as your version of python (python --version).
by dignome
Wed Feb 09, 2011 7:38 pm
Forum: Scripts and Templates
Topic: Updated 02/26/11 Script + Templates for Ubiquiti AirOS (SSH)
Replies: 8
Views: 12762

Re: Updated 02/04/11 Script + Templates for Ubiquiti AirOS (

Hi. Oops - I was using the newer syntax from python3 which was backported to 2.6/2.7. Please try the below fix: --- scgrab.py 2011-02-09 18:29:13.380563996 -0600 +++ scgrab-py25.py 2011-02-09 18:29:53.750563938 -0600 @@ -85,7 +85,7 @@ hostKey = paramiko.DSSKey(filename=authKeyFile, password=password...
by dignome
Wed Feb 02, 2011 12:18 pm
Forum: Plugin: (Threshold)
Topic: THold 0.4.3 emails don't contain graphs?
Replies: 6
Views: 4061

Re: THold 0.4.3 emails don't contain graphs?

Hi. I had this problem as well and use cacti on windows. Looking at the png2jpeg function definition at the bottom of thold_functions.php, it is using '/tmp/' for writing the temp file. Offending line: $fn = "/tmp/" . time() . '.png'; Proposed fix: $fn = sys_get_temp_dir() . DIRECTORY_SEPARATOR . ti...
by dignome
Sat Jan 29, 2011 5:32 pm
Forum: Scripts and Templates
Topic: Updated 02/26/11 Script + Templates for Ubiquiti AirOS (SSH)
Replies: 8
Views: 12762

Updated 02/26/11 Script + Templates for Ubiquiti AirOS (SSH)

Hi. Attached is an archive containing a python script + cacti templates for monitoring Ubiquiti devices. It is not limited to such and has a simple plugin class for writing queries for any ssh enabled device. There is another such project that does the same albeit using php: http://code.google.com/p...