Bug#337236: [Pkg-nagios-devel] Bug#337236: nagios-common: Change
defaults from somehost to localhost, etc
sean finney
seanius at debian.org
Fri Nov 4 17:09:10 UTC 2005
hi olaf,
On Thu, Nov 03, 2005 at 02:42:09PM +0100, Olaf van der Spek wrote:
> /etc/nagios/resource.cfg:
> #xsddb_host=somehost
> #xsddb_port=someport
> #xsddb_database=somedatabase
> #xsddb_username=someuser
> #xsddb_password=somepassword
>
> Could you change this to localhost, 3306, nagios, nagios?
> That would make configuration easier.
that seems fairly reasonable, makes less typing for the admin
in many cases :)
> Also, what's the status on the automatic DB configuration?
i took a stab at bringing in dbconfig-common, but hit a small snag
because the credentials have to be provided in like 8 different places
with different variable names. i think i can overcome this by either
augmenting dbconfig-common (which i also maintain) or using some
other novel hack, but haven't revisited trying to do so in a couple
months.
on a positive note, now that nagios-plugins is under pkg-nagios control
we can move the check_nagios_db plugins into the package officially,
and modify them to load credentials out of a config file, too, meaning
much cleaner and more comprehensive support once it's in place.
sean
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20051104/7a2c9981/attachment.pgp
More information about the Pkg-nagios-devel
mailing list