Create Custom Graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Alux
Posts: 4
Joined: Tue Mar 31, 2009 12:30 pm

Create Custom Graph

Post by Alux »

Dear all

I try to monitor my Juniper ERX-1440 CPU usage

I Wrote custom script that its output something like this in cacti.log

Code: Select all

 CMDPHP: Poller[0] Host[0] DS[3523] CMD: /usr/local/share/cacti/scripts/erx-cpu.sh, output: 6 8 16 3
these numbers blog to erx cpu usage for each slot !

now i tried to create graph for these numbers

i Create data input methods with four out put => cpu1 , cpu2 ,cpu3 ,cpu4

then i create data source for it with 4 filed like this

Image


then i create graph from graph management

something like this but output are NAN

Item 1 and 2 ... with average and last , and selected data source is erx-cpu-ds ,

I dont know where is my problem :(

Image[/img][/code]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The output of that script is incorrect. Please read http://docs.cacti.net/manual:087:3a_adv ... ut_methods
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests