[Apan-users] apan-sql questions/problems.

Fredrik Wänglund fredrik.wanglund at mobeon.com
Wed Apr 14 08:20:59 CEST 2004


Just to make some things more clear...

In the debug output you get:
'..Could not insert '' , '1081867999' into..'

The thing before the comma, '', is the data that should be inserted to 
the RRD and the number after the comma is the timestamp of the data.
The problem here is that there is no data to insert!

So this is not a permisson problem (Maybe one part of the problem is the 
error-emssages not being so clear...).


/FredrikW



Boulytchev, Vasiliy wrote:

>  
> Ladies and Gents,
> 	I believe the root of my problem is being a novice.  Let me first
> explain you what all has been done to test this issue.  This is what I have
> in /tmp/apan.debug:
> 
> Somehost.blah:Load, Could not insert '' , '1081867999' into
> /usr/local/nagios/rrd/somehost.blah-Load.rrd
> 
> 	Certainly I made sure that the file was properly created with
> apanconf-sql.  I have checked the permissions on the folders, they appear to
> be set properly.  I get the usual RRD graphs, after clicking on the service
> Load...  I have successfully recompiled status.cgi with the hack to make RRD
> graphs appear in the main Nagios screen.
> 	nagios-statd is running on the remote server, and as a matter of
> fact, I have used nagios-stat extensively with the hosts in my network.
> 
> 	Now, am I misconfiguring some portions?  Not reading enough (most
> likely).  I see a great sample page on http://apan.sourceforge.net/.  I
> follow your directions, however they do not reflect your new release
> apan-sql...  That being said, there is no apan.conf file...  Can someone
> please provide a sample config for Load gathering via apan?  It seems that I
> am almost there, it just wont write to the file, as stated above.
> 
> THANKS!
> 
> 
> 
> Vasiliy Boulytchev
> Colorado Information Technologies, Inc.
> http://www.coinfotech.com



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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