> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Hugo van der Kooij
> Sent: Friday, June 22, 2007 3:30 PM
> To: Nagios Users mailinglist
> Subject: Re: [Nagios-users] Plugin that will test nagios.cfg
>
> O
On Thu, 21 Jun 2007, Marc Powell wrote:
> If you can reliably reproduce this with a '/etc/init.d/nagios reload' or
> 'restart' then you should report it as a bug. Nagios is meant to not
> crash or bail a running copy if the new config is bad.
If nagios can not start due to a broken config then a
On 22/06/07 10:23 AM, Hari Sekhon wrote:
>
>>
>> One everyone uses init scripts. Nagios can also be restarted via
>> signals, web interface and directly trough the command pipe. Any of
>> these methods won't do any sanity checking.
>>
>>
> Do you mean "Not everyone uses init script"?
Yes of co
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Hari Sekhon
> Sent: Friday, June 22, 2007 9:24 AM
> To: Thomas Guyot-Sionnest
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Plugin that
>
> One everyone uses init scripts. Nagios can also be restarted via
> signals, web interface and directly trough the command pipe. Any of
> these methods won't do any sanity checking.
>
>
Do you mean "Not everyone uses init script"?
> The init script does pretty much what I put in my bash exa
On 22/06/07 05:14 AM, Hari Sekhon wrote:
> On my installation I noticed that it does crash when you do
> /etc/init.d/nagios restart, but not if you do /etc/init.d/nagios reload
> which I think is what you should be doing.
One everyone uses init scripts. Nagios can also be restarted via
signals, we
did you see my last email regarding this and reload vs restart?
also, something I forgot to add, here is a very basic shell test that I
run through cron to check nagios is up and email me if not:
$PLUGIN_DIR/check_nagios -F $NAGIOS_STATUS_LOG -e 5 -C $NAGIOS_BINARY > $LOG
if [ $? != 0 ]; then
Hi,
21.06.2007 23:20,, Patrick Morris wrote::
> Arno Lehmann schrieb am Donnerstag, den 21. Juni 2007:
>
>> Hi,
>>
>> chiel schrieb:
>>> I'm looking for a plugin that will check if the nagios.cfg is ok.
>>> So besecauly run this command: "/usr/local/nagios/bin/nagios -v
>>> /usr/local/nagios/etc
On my installation I noticed that it does crash when you do
/etc/init.d/nagios restart, but not if you do /etc/init.d/nagios reload
which I think is what you should be doing.
When deploying, I use reload instead of restart, that way you get the
error message from the pre-flight check but nagios
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Thomas Guyot-Sionnest
> Sent: Thursday, June 21, 2007 10:13 PM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Plugin that will test nagios.cfg
&
On 21/06/07 05:20 PM, Patrick Morris wrote:
> Arno Lehmann schrieb am Donnerstag, den 21. Juni 2007:
>
>> Hi,
>>
>> chiel schrieb:
>>> I'm looking for a plugin that will check if the nagios.cfg is ok.
>>> So besecauly run this command: "/usr/local/nagios/bin/nagios -v
>>> /usr/local/nagios/etc/na
Arno Lehmann schrieb am Donnerstag, den 21. Juni 2007:
> Hi,
>
> chiel schrieb:
> > I'm looking for a plugin that will check if the nagios.cfg is ok.
> > So besecauly run this command: "/usr/local/nagios/bin/nagios -v
> > /usr/local/nagios/etc/nagios.cfg". Is there a plugin for this?
>
> Would
Hi,
chiel schrieb:
> I'm looking for a plugin that will check if the nagios.cfg is ok.
> So besecauly run this command: "/usr/local/nagios/bin/nagios -v
> /usr/local/nagios/etc/nagios.cfg". Is there a plugin for this?
Wouldn't it be better to check this in the cron job itself? Nagios
won't help
I'm looking for a plugin that will check if the nagios.cfg is ok.
So besecauly run this command: "/usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg". Is there a plugin for this?
I want this because I reload the nagios config every 15 minutes through a
cronjob. And I want to be not
14 matches
Mail list logo