ent: Thursday, February 26, 2009 12:45 PM
> To: Nagios User list
> Subject: Re: [Nagios-users] nagiosgraph help
>
> It appears that the rrd file for the graph is not created at all.
> If i try to create it manually i get the following error
> "update ERR reading the cookie
It appears that the rrd file for the graph is not created at all.
If i try to create it manually i get the following error
"update ERR reading the cookie off"
As far as i know , adding a new test to the map file - the rrd file should be
created
automatically , the directory permissions are 775
Assaf Flatto skrev:
> Thanks for the help , whoever i did as you recommended and modified my map
> file to be as follows :
>
> # Service type: unix-slapd
> # ouput:OK - Established connections: 6
> # perfdata:OK - Established connections: 373
> /prefdata:OK - Established connections: ([0-9]+)
Thanks for the help , whoever i did as you recommended and modified my map file
to be as follows :
# Service type: unix-slapd
# ouput:OK - Established connections: 6
# perfdata:OK - Established connections: 373
/prefdata:OK - Established connections: ([0-9]+) /
and push @s, ['slapd',
Hi,
First it seems that you have your regexp wrong.
sample script to verify what type of output you get:
#!/usr/bin/perl
$_ = "OK - Established connections: 235";
s/OK .* ([0-9]+) //g;
print $_ . "\n";
print "1 = " . $1 . "\n";
and runing it:
./regexp.pl
OK - Established connections: 235
1 =
Hello List
I've been struggling with the nagiosgraph , granted i am not that fluent with
perl , but i do have
a basic grasp of it .
The problem i am having is adding services ( of course) .
define service{
use linux-service
host_name