Hello List I've been struggling with nagiosgraph (1.4) and nagios 3.2 for the last 3 weeks and can't get it to work,
my setting are as follows : Nagios.cfg # PROCESS PERFORMANCE DATA OPTION process_performance_data=1 service_perfdata_file=/var/spool/nagios/perfdata.log service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata commands.cfg: # Nagios Performance Commands define command { command_name process-service-perfdata command_line /usr/local/nagios/lib/insert.pl } nagiosgraph.conf : ( cleared from all comments ) debug = 5 debug_showgraph = 5 logfile = /usr/local/nagios/var/nagiosgraph.log rrddir = /usr/local/nagios/nagiosgraph/rrd mapfile = /usr/local/nagios/nagiosgraph/map colorscheme = 1 heartbeat = 600 perflog = /var/spool/nagios/perfdata.log dbseparator = subdir plotas = LINE2 maximums = Current Load,PLW,Procs: total,Procs: zombie,User Count minimums = APCUPSD,Mem: free,Mem: swap withmaximums = PING withminimums = PING hostdb = /usr/local/nagios/nagiosgraph/hostdb.conf servdb = /usr/local/nagios/nagiosgraph/servdb.conf nagioscgiurl = https://nagiosserver/nagios/cgi-bin javascript = /nagios/nagiosgraph.js stylesheet = /nagios/stylesheets/nagiosgraph.css graphlabels = true small = 650x150 clear = clear the list selecthost = Select server selectitems = Optionally, select the data set(s) to graph: selectserv = Select service fixedscale = Fixed Scale submit = Update Graphs zoom = Resize the graphs: perfforhost = Performance data for host perfforserv = Performance data for service service = service asof = as of dai = Today daily = Daily day = Today week = This Week weekly = Weekly month = This Month monthly = Monthly year = This Year yearly = Yearly configerror = Configuration Error (email <a href="mailto:alan.bren...@ithaka.org">Alan</a>). noservicegiven = Bad URL for showservice.cgi; no service given apcupsd = Uninterruptible Power Supply Status (Battery Charge, Tempurature, Load Percentage, Time Left) bps = Bits Per Second clamdb = Clam Database diskgb = Disk Usage in Gigabytes diskpct = Disk Usage in Percent http = Bits Per Second load = Load Average losspct = Loss Percentage mailq = Pending Output E-mail Messages memory = RAM Usage Mem%3A%20swap = Swap Utilization swap = Swap Utilization ping = Ping Loss Percentage and Round Trip Average pingloss = Ping Loss Percentage pingrta = Ping Round Trip Average PLW = Perl Log Watcher Events procs = Processes qsize = Messages in Outbound Queue rta = Round Trip Average smtp = E-mail Status testcolor = Show Colors typesome = Type some space seperated nagiosgraph line names here graph = Graph previous = previous next = next createdby = Created by nagiosgraph directory and all sub dirs and files have nagios:nagios ownership with full rwx for group and user. By using rrdtool dump I can see data in the rrd files , but no graphs are being displayed . from nagiosgraph.log Wed Feb 3 10:03:02 2010 insert.pl debug getrules(/usr/local/nagios/nagiosgraph/map) Wed Feb 3 10:03:02 2010 insert.pl debug inputdata() Wed Feb 3 10:03:02 2010 insert.pl debug inputdata empty /var/spool/nagios/perfdata.log Wed Feb 3 10:03:02 2010 insert.pl debug insert.pl exited but doing tail -f /var/spool/nagios/perfdata.log 1265194199||dec1-be-107||Check NTP Time||NTP OK: Offset -0.0004923343658 secs||offset=-0.000492s;10.000000;500.000000; 1265194199||dec1-be-107||Total Processes||PROCS OK: 80 processes|| 1265194199||dec1-be-71||Check NTP Time||NTP OK: Offset -0.0008155107498 secs||offset=-0.000816s;10.000000;500.000000; 1265194199||dec1-be-71||Total Processes||PROCS OK: 130 processes|| Any one got any idea why this is happening and hoiw can i get it to work ? Thanks Assaf ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null