Open GoogleCodeExporter opened 9 years ago
hello,
you dont need to create device, graph, or anything in cacti, nagios2cacti do it
for
you! In cacti you modify the graph_template created and associate the host or
graph
in the graph_tree.
if you use send_perf.pl and server_perf.pl, to communicate via socket, you have
the
backlog:
send_perf wrote in this file :
BACKLOG_DIR=/var/log/nagios/backlog
the data are delete from this folder when the communication to server_perf is
successfull.
when server_perf.pl or perf2rrd.pl have proceed your data, they wrote in archive
directory :
ARCHIVE_DIR=/var/log/nagios/perfdata
nagios execute send_perf (perfdata command) to communicate perfdata to
server_perf(daemon) who create or update the base rrd and the mysql database of
cacti.
nagios write in a pipe :
SERVICE_PERFDATA_PIPE=/var/log/nagios/perfdata.pipe
and perf2rrd.pl write this pipe to get the perfdata.
pipe is more light, socket is more safe.
what's method have you choice?? and look right on filesystem for pipe, file,
folder,
it's the main reason to have some trouble where you dont get your data, and
/var/log/nagios/perfdata.pipe is right a pipe :
prw-r--r-- 1 nagios nagios 0 Jan 9 08:31 perfdata.pipe
same if you use a socket local file:
srwxr-xr-x 1 nagios nagios 0 May 29 2008 perfdata.sock
best regards,
Olivier
Original comment by olivier....@gmail.com
on 9 Jan 2009 at 7:31
It was just the templates that weren't quite right. Hosts are now appearing in
cacti,
but with graphs blank. I should be able to sort with some playing around.
Once I sort this out I will see if I can do up a doco on this for you.
Original comment by ben.pric...@gmail.com
on 9 Jan 2009 at 8:05
Hello guys...i am trying my best to get this working, but i think in my current
level i need a more step-by-step documentation =/, anyway great job xD
Original comment by romuloa...@gmail.com
on 1 Nov 2010 at 8:15
Original issue reported on code.google.com by
ben.pric...@gmail.com
on 9 Jan 2009 at 4:35