RRD Doesn't generate a new DB
Pietrangelo, Nicholas
npietrangelo at jewels.com
Thu Apr 26 17:44:40 CEST 2007
Is the perflog the same file as the service_perfdata_file?
Nagiosgraph.cfg: perflog = /var/adm/logs/nagios/service-perfdata:q!
Nagios.cfg: service_perfdata_file=/var/adm/logs/nagios/service-perfdata
Nick P
-----Original Message-----
From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com]
Sent: Thursday, April 26, 2007 11:32 AM
To: Pietrangelo, Nicholas
Cc: nagios-users at lists.sourceforge.net
Subject: RE: RRD Doesn't generate a new DB
OK, so it'll run as the user, but it's not creating rrd files by itself?
Sounds like nothing is getting through to the map file to attempt
translation on, but I could be misunderstanding.
Does your PING service (it's a good example to work with) have the
performance data on? (process_perf_data 1)
Set nagiosgraph.conf debug=5, and tail the log file - you should see
stuff
going on all the time if its working. Also tail your perfdata.dat file
(nagios/var) in another console, you should see data dropping in to
there
then the file being truncated - give it a while if you don't have many
hosts defined, or the check doesn't run often.
When stuff drops into perfdata.dat, you should see an attempt to process
it nagiosgraph.log - if you get an error like it can't recognise the
data,
you need to check your map file:
# Service type: ping
# output:PING OK - Packet loss = 0%, RTA = 0.00 ms
/output:PING.*?(\d+)%.+?([.\d]+)\sms/
and push @s, [ ping,
[ losspct, GAUGE, $1 ],
[ rta, GAUGE, $2/1000 ] ];
.. is mine, think thats an out of the box setting though, so it should
be
OK.
If nothing appears in perfdata.dat, no performance data is being
processed
by Nagios - back to the overall config (looks OK to me) and the service
config.
REMEMBER TO SET DEBUG BACK TO 1, IT GROWS BIG QUICK!! (Sorry for Caps,
it's because I forgot to once.:-o..)
________________________________________________________________________
___
Glynn Seymour
Network Consultant
BBS EMEA-IT UK
Bayer plc, UK
"Pietrangelo, Nicholas" <npietrangelo at jewels.com>
26/04/2007 16:02
To
<glynn.seymour at bayerbbs.com>
cc
<nagios-users at lists.sourceforge.net>
Subject
RE: RRD Doesn't generate a new DB
I su'd to the nagios user and manually ran the insert.pl. I actually
inserted rrd files into the rrddir. But it isn't updateing on its own.
Nick P
-----Original Message-----
From: glynn.seymour at bayerbbs.com [mailto:glynn.seymour at bayerbbs.com]
Sent: Thursday, April 26, 2007 10:41 AM
To: Pietrangelo, Nicholas
Cc: nagios-users at lists.sourceforge.net
Subject: Re: RRD Doesn't generate a new DB
Whats the security on insert.pl? Can the Nagios user ever run it (try
SU'ing to it if you can)
HTH,
Glynn.
________________________________________________________________________
___
Glynn Seymour
Network Consultant
BBS EMEA-IT UK
Bayer plc, UK
e mail: nospam.glynn.seymour at bayerbbs.com Web:
http://www.bayer.co.uk
________________________________________________________________________
__
Bayer plc is registered in England under number 935048. Registered
Office:
Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA.
The information contained in this e-mail is for the exclusive use of the
intended recipient(s) and may be confidential, proprietary, and/or
legally
privileged. Inadvertent disclosure of this message does not constitute
a
waiver of any privilege. If you receive this message in error, please
do
not directly or indirectly use, print, copy, forward, or disclose any
part
of this message. Please also delete this e-mail and all copies and
notify
the sender.Thank you.
For alternate languages please go to http://bayerdisclaimer.bayerweb.com
________________________________________________________________________
__
The information contained in this e-mail message is privileged and/or
confidential and is intended only for the use of the individual or
entity
named above. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please immediately
notify us by telephone (330-668-5000), and destroy the original
message. Thank you.
The information contained in this e-mail message is privileged and/or
confidential and is intended only for the use of the individual or entity
named above. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please immediately
notify us by telephone (330-668-5000), and destroy the original
message. Thank you.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list