Well, I tried replacing all instances of pcpu_idle with pcpuIdle, restarted server and client but still no rrd's. Is there some way I can check to see that the data is actually reaching the server? I'm getting data and graphs for load average, disk, memory utilization, etc. The stuff that usually shows up in trends, so I know the client can reach the host.
Sage
On 11/7/06, Jeffcoat, Al <Al.Jeffcoat at orhs.org> wrote:
I just went through a very similar situation in the last 4 days. Some things with underscores worked, some things didn't. There was a suggestion to put spaces between the DS and VALUE, which also had mixed results.
The final fix was to remove underscores from everything, and that solved my problem across the board. My users would have rather had the underscores due to some naming similarities, however, they are living with it to get the graphs J. Funny how much power a graph has.
Al
*From:* Shifter [mailto:the.shifter at gmail.com] *Sent:* Tuesday, November 07, 2006 7:58 PM *To:* hobbit at hswn.dk *Subject:* [hobbit] custom rrd data graph
Hi all,
I've spent a good deal of time today perusing the archives and man pages hoping to glean the answers to my problem of creating a custom rrd data (not status) graph. The process should be similar but darn near everything I've seen deals with status graphs.
Here's the contents of my ext script on the client:
(stuff to put a value into /tmp/pcpu.txt) $BB $BBDISP "data $MACHINE.pcpu
cat /tmp/pcpu.txt"The contents of /tmp/pcpu.txt:
pcpu_idle : 97.16
On the server side of things I've modified the hobbitserver.cfg files' TEST2RRD and GRAPHS lines to append "pcpu_idle=ncv". I also have this line in the same file: NCV_pcpu_idle="pcpu_idle:GAUGE"
hobbitgraph.cfg also includes this definition: [pcpu] TITLE ESX CPU Utilitization YAXIS % Used -u 100 -r DEF:cpu_idl=pcpu.rrd:cpu_idl:AVERAGE CDEF:pbusy=100,cpu_idl,- LINE2:pbusy#00CC00:% CPU busy GPRINT:pbusy:LAST: \: %5.1lf (cur) GPRINT:pbusy:MAX: \: %5.1lf (max) GPRINT:pbusy:MIN: \: %5.1lf (min) GPRINT:pbusy:AVERAGE: \: %5.1lf (avg)\n
I don't have a pcpu.rrd file in the rrd/host directory which I would expect to see. I don't see any error messages in the client logs about not being able to communicate. Am I missing something obvious? Any help would be appreciated, thanks.
Sage
This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message. To reply to our email administrator directly, send an email to: postmaster at orlandoregional.org . If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.