[Orca-users] Config confusion...

Andy Harrison aharrison at gmail.com
Wed Jun 16 12:51:44 PDT 2004


I'm having trouble graphing this data and wondered if anyone could
help me along.

Here's the config file I'm trying out:

pop.cfg
#REQUIRED OPTIONS
state_file /usr/local/var/nagios/orca/POP/orca_state.log
html_dir /usr/local/share/nagios/orca/POP
rrd_dir /usr/local/share/nagios/orca/POP
base_dir /usr/local/

#GENERAL OPTIONS

#GROUP OPTIONS
group POP {
find_files /usr/local/var/nagios/orca/POP/input/POP_server1.log
column_description epoch server servicedesc pluginoutput
date_source column_name epoch
#interval 3600
interval 300
}

#PLOT OPTIONS
plot {
source POP
title POP
data pluginoutput
data_type ABSOLUTE
line_type AREA
color ff0000
data_min 0
data_max 1000000
required 1
plot_width 600
plot_height 250
y_legend pluginoutput
}


And here's some sample data as generated by my script.:
# ./nagios-grapher.pl -d | grep server1 | grep POP | head 
1074290315 server1 POP 0.003 
1074362915 server1 POP 0.003 
1074464685 server1 POP 0.003 
1074628735 server1 POP 0.003 
1074643375 server1 POP 0.014 
1074729475 server1 POP 0.003 
1074870934 server1 POP 0.045 
1075070175 server1 POP 0.003 
1075219134 server1 POP 0.605 
1075219554 server1 POP 0.011 

Any help would be appreciated.  Thanx!

-- 
Andy Harrison



More information about the Orca-users mailing list