I get rrd files generated setting this command with perl path
define command{
command_name process-service-perfdata
command_line /usr/bin/perl /usr/share/nagios/nagiosgraph/insert.pl
}
now I get the bluescreen from showcgi but with empty images.
On 3/1/06, Alberto
if I define command in this way
define command{
command_name process-service-perfdata
command_line
/usr/share/nagios/nagiosgraph/insert.pl
"$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$"
command_line echo -e
"$LASTSERVICECH
Yes. It's called because if I rename it I get error 127 not found on nagios.log.
nagios doesnt generate any file inside rrd/ but if I manually run insert.pl with user nagios I get files inside rrd/.
I get this in nagiosgraph.log:
Tue Feb 28 08:09:42 2006 CGI debug: @db=
Tue Feb 28 08:09:42 2006
On Mon, 27 Feb 2006, Alberto wrote:
> I get this in nagiosgraph.log:
>
> CGI error: RRDs::graph ERR can't make a graph without contents
>
> I get the blue screen of nagiosgraph but no images on it... what is the
> probleam? I have no data on rrd/ folder but if I execute insert.pl manually
> as nag
I get this in nagiosgraph.log:
CGI error: RRDs::graph ERR can't make a graph without contents
I get the blue screen of nagiosgraph but no images on it... what is the
probleam? I have no data on rrd/ folder but if I execute insert.pl
manually as nagios user I get date in the folder but if I delete