Search found 42 matches

by mokeybrains
Tue Apr 22, 2014 12:10 pm
Forum: Help: Linux/Unix Specific
Topic: Debian Over 80Mbps Problem
Replies: 2
Views: 1120

Re: Debian Over 80Mbps Problem

Yep, "rrdtool tune" fixes this... I've noticed setting the RRD max on existing data sources via the cacti web interface doesn't seem to fixup the RRD file. Here is a nifty way to recalibrate all your traffic graphs to handle up to 10Gbps: #!/usr/bin/perl # # raise-max-for-traffic.pl # # Set your RRA...
by mokeybrains
Sat Mar 10, 2012 1:28 am
Forum: Help: Linux/Unix Specific
Topic: Bug for my timezone
Replies: 3
Views: 980

Re: Bug for my timezone

You have to do that for both the cli and apache2 php.ini files. This is 'THE ONLY SOLUTION' when using PHP 5.3+. TheWitness 'THE ELEGANT HACK' is to muck with graph_image.php and set the environment to match PHP! Add this as the second line of your graph_image.php file: putenv('TZ='.date_default_ti...
by mokeybrains
Sat Mar 10, 2012 1:21 am
Forum: Help: General
Topic: Help with rrd.php/ out of sync data
Replies: 3
Views: 902

Re: Help with rrd.php/ out of sync data

I had a timezone problem and found that (after an upgrade) graph_image.php didn't have TZ set in it's environment. The fix is here:
http://forums.cacti.net/viewtopic.php?f ... 08#p227508
by mokeybrains
Sat Mar 10, 2012 1:14 am
Forum: Help: Linux/Unix Specific
Topic: Can not set the timezone
Replies: 2
Views: 3291

Re: Can not set the timezone

This problem has been plaguing me as well. Ready to edit some code? Good! On line 2 of graph_image.php --- add this: putenv('TZ=America/Los_Angeles'); or even better, dynamically set environment to match your php.ini file... putenv('TZ='.date_default_timezone_get()); or whatever timezone you want, a...
by mokeybrains
Thu Nov 13, 2008 3:43 pm
Forum: Help: General
Topic: Edit graph -- Breaks data source fields
Replies: 0
Views: 790

Edit graph -- Breaks data source fields

Not always, but sometimes, when I hit 'edit graph' the data source fields are empty... If I want to edit the name of a graph, I have to manually reselect the data sources.... kinda a pain in the butt.

The next port on the switch may or may not require me to reselect the data sources.
by mokeybrains
Sat Jun 14, 2008 2:46 pm
Forum: Help: Linux/Unix Specific
Topic: trouble with CPU (system) graphing
Replies: 3
Views: 3180

Thanks

I thought the machine was going bonkers -- then I thought I'd done something wrong -- then I remembered I'd installed the newest net-snmp... I was suspecting that. :)
by mokeybrains
Sat Jun 14, 2008 12:24 am
Forum: Scripts and Templates
Topic: pure SNMP Replacement for SNMP - Get Processor Information
Replies: 24
Views: 33674

only one CPU show load -- what's up?

# snmpwalk -c public -v2c example .1.3.6.1.2.1.25.3.3 SNMPv2-SMI::mib-2.25.3.3.1.1.768 = OID: SNMPv2-SMI::zeroDotZero SNMPv2-SMI::mib-2.25.3.3.1.1.769 = OID: SNMPv2-SMI::zeroDotZero SNMPv2-SMI::mib-2.25.3.3.1.2.768 = INTEGER: 18 # snmpwalk -c public -v2c example .1.3.6.1.2.1.25.3 | grep Core SNMPv2...
by mokeybrains
Sat Jun 14, 2008 12:07 am
Forum: Help: Linux/Unix Specific
Topic: trouble with CPU (system) graphing
Replies: 3
Views: 3180

going to try the hrProcessor...

Just noticed this new query...
http://forums.cacti.net/viewtopic.php?t=27099

Eager to see what it graphs. :)
by mokeybrains
Fri Jun 13, 2008 11:43 pm
Forum: Help: General
Topic: Appreciation
Replies: 55
Views: 116370

Thanks from MonkeyBrains.net

We love cacti. :)
Donating some cash right now.
by mokeybrains
Fri Jun 13, 2008 11:37 pm
Forum: Help: Linux/Unix Specific
Topic: trouble with CPU (system) graphing
Replies: 3
Views: 3180

trouble with CPU (system) graphing

The system CPU % is whack. I upped the maximum to 200 for CPU info (gandalf - your second link in your sig) and am getting values over 100% (???) I ran top for 5 minutes and watched the CPU line... it stayed more or less like this: CPU: 0.0% user, 0.0% nice, 0.1% system, 16.4% interrupt, 83.6% idle ...
by mokeybrains
Wed Jun 04, 2008 8:49 pm
Forum: Help: Linux/Unix Specific
Topic: [SOLVED] FreeBSD, (IF/Traffic) - 64 bit counters broken.
Replies: 14
Views: 9144

HOW-TO make 64 bit counters work on FreeBSD

Code: Select all

cd /usr/ports/net-mgmt/net-snmp && make -DWITH_MFD_REWRITES
make deinstall  (if you have the old one installed)
make install
/usr/local/etc/rc.d/snmpd restart
then, go to "Console->Device->Pick-your-box"
Set SNMP Version = 2

WHEEEEEE, now you have graphs over 114 Mbps for your em0.
by mokeybrains
Mon May 21, 2007 3:33 pm
Forum: Help: Linux/Unix Specific
Topic: All DiskSpaces in one graph
Replies: 42
Views: 25829

Re: XML.script how to ;)

It doesn't work!?!?!?!? I imported the template as discribed, but no graph ist shown. Du hast template gemacht Hast du jetzt die graph machen? Du must alles lesen, meine Freund! ------------ haha, haven't used German in a long time. Anyhow, follow ALL the steps. Import the graph is one step, making...
by mokeybrains
Wed May 16, 2007 3:48 pm
Forum: Help: Linux/Unix Specific
Topic: All DiskSpaces in one graph
Replies: 42
Views: 25829

XML.script how to ;)

Import the XML file (see image below). Click on *Console *Graph Management *Add (upper right of screen) *Pick Combined - Used Disk Space - 5 partitions *Pick a host *Click Create *fill out all the partitions (cacti wizards: how can this be automated to pre-populate paritions 1-4 with / /var /tmp /us...
by mokeybrains
Fri May 11, 2007 5:39 pm
Forum: Scripts and Templates
Topic: Best Post - Complete List of Cacti Scripts and Templates
Replies: 50
Views: 895913

All DiskSpaces in one graph

A combined template to put disk usage (by %) for 5 partitions on one graph.
http://forums.cacti.net/viewtopic.php?t=21083
by mokeybrains
Fri May 11, 2007 5:25 pm
Forum: Help: Linux/Unix Specific
Topic: All DiskSpaces in one graph
Replies: 42
Views: 25829

Got it working!

What a hard process! Anyhow, I learned a lot and wrote a helper script that will 'replicate' sections of the graph template making the addition of lines to an existing template easier. Here is a question for gandalf: when looking at the RRDTool Command in debug mode, all the CDEFs are run twice . Ho...