Nagios-OS?
Pradeep Pokharkar
pradeeppokharkar at yahoo.com
Mon May 19 12:44:38 CEST 2008
Hi,
Can anybody tell me which opertaing system should I go for Nagios, Redhat Enterprise Linux5 server or workstation?
Regards,
Pradeep
----- Original Message ----
From: "nagios-users-request at lists.sourceforge.net" <nagios-users-request at lists.sourceforge.net>
To: nagios-users at lists.sourceforge.net
Sent: Monday, May 19, 2008 12:49:15 AM
Subject: Nagios-users Digest, Vol 24, Issue 32
Send Nagios-users mailing list submissions to
nagios-users at lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/nagios-users
or, via email, send a message with subject or body 'help' to
nagios-users-request at lists.sourceforge.net
You can reach the person managing the list at
nagios-users-owner at lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nagios-users digest..."
Today's Topics:
1. Could not open command file
'/usr/local/nagios/var/rw/nagios.cmd' (Daniel Bareiro)
2. Last check displayed (Daniel Bareiro)
3. Re: Could not open command file
'/usr/local/nagios/var/rw/nagios.cmd' (Morris, Patrick)
4. Re: Last check displayed (Morris, Patrick)
5. problemas with check_icmp (Rodrigo Pacheco)
----------------------------------------------------------------------
Message: 1
Date: Sun, 18 May 2008 10:56:29 -0300
From: Daniel Bareiro <daniel-listas at gmx.net>
Subject: [Nagios-users] Could not open command file
'/usr/local/nagios/var/rw/nagios.cmd'
To: nagios-users at lists.sourceforge.net
Message-ID: <20080518135629.GH24087 at hermes.freesoftware.org>
Content-Type: text/plain; charset="us-ascii"
Hi!
I've update the Nagios version from 3.0b5 to 3.0.1 stable. But
re-scheduling a new check for a service I get:
-------------------------------------------------------------------------
Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd'
for update!
The permissions on the external command file and/or directory may be
incorrect. Read the FAQs on how to setup proper permissions.
An error occurred while attempting to commit your command for
processing.
-------------------------------------------------------------------------
sparky:/usr/local/nagios/var/rw# ll
total 0
prw-rw---- 1 nagios nagios 0 2008-05-18 10:38 nagios.cmd
sparky:/usr/local/nagios/var/rw# id nagios
uid=1001(nagios) gid=1001(nagios) groups=1001(nagios),1002(nagcmd)
sparky:/usr/local/nagios/var/rw# id www-data
uid=33(www-data) gid=33(www-data) groups=33(www-data),1002(nagcmd)
The permissions are according to Ubuntu Quickstart. Changing the group
of nagios.cmd to nagcmd I get rid of the problem. But restarting Nagios,
the nagios.cmd permissions are reset to nagios:nagios. What can be the
problem?
Tnaks in advance.
Regards,
Daniel
--
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lennt - Linux user #188.598
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
------------------------------
Message: 2
Date: Sun, 18 May 2008 12:33:44 -0300
From: Daniel Bareiro <daniel-listas at gmx.net>
Subject: [Nagios-users] Last check displayed
To: nagios-users at lists.sourceforge.net
Message-ID: <20080518153344.GI24087 at hermes.freesoftware.org>
Content-Type: text/plain; charset="us-ascii"
Hi!
I've noticed a sensible difference in the hosts displayed in the service
detail' Nagios interface for last check. In some host the hour is
consistent with the actual one, but in others I observe a differences of
one or more hours.
This can be due to some Nagios cache?
Thanks in advance
Regards,
Daniel
--
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
------------------------------
Message: 3
Date: Sun, 18 May 2008 17:34:31 +0000
From: "Morris, Patrick" <patrick.morris at hp.com>
Subject: Re: [Nagios-users] Could not open command file
'/usr/local/nagios/var/rw/nagios.cmd'
To: "dbareiro at gmx.net" <dbareiro at gmx.net>,
"nagios-users at lists.sourceforge.net"
<nagios-users at lists.sourceforge.net>
Message-ID:
<93C487A372B3774CAEAA15D524CCF3D122883BBC2A at G1W0485.americas.hpqcorp.net>
Content-Type: text/plain; charset="us-ascii"
> I've update the Nagios version from 3.0b5 to 3.0.1 stable. But
> re-scheduling a new check for a service I get:
>
> -----------------------------------------------------------------------
> --
> Error: Could not open command file
> '/usr/local/nagios/var/rw/nagios.cmd'
> for update!
>
> The permissions on the external command file and/or directory may be
> incorrect. Read the FAQs on how to setup proper permissions.
>
> An error occurred while attempting to commit your command for
> processing.
> -----------------------------------------------------------------------
> --
>
> sparky:/usr/local/nagios/var/rw# ll
> total 0
> prw-rw---- 1 nagios nagios 0 2008-05-18 10:38 nagios.cmd
> sparky:/usr/local/nagios/var/rw# id nagios
> uid=1001(nagios) gid=1001(nagios) groups=1001(nagios),1002(nagcmd)
> sparky:/usr/local/nagios/var/rw# id www-data
> uid=33(www-data) gid=33(www-data) groups=33(www-data),1002(nagcmd)
>
> The permissions are according to Ubuntu Quickstart. Changing the group
> of nagios.cmd to nagcmd I get rid of the problem. But restarting
> Nagios,
> the nagios.cmd permissions are reset to nagios:nagios. What can be the
> problem?
Sounds like when you updated you compiled with a different user and/or group than your older version.
There are at least a couple ways to fix this. One would be to recompile Nagios to use a group your webserver is a member of. Another would be to set the "rw" directory setgid www-data so new files created there have that as their group. For that to work, the nagios user would also need to be a member of www-data.
------------------------------
Message: 4
Date: Sun, 18 May 2008 17:37:51 +0000
From: "Morris, Patrick" <patrick.morris at hp.com>
Subject: Re: [Nagios-users] Last check displayed
To: "dbareiro at gmx.net" <dbareiro at gmx.net>,
"nagios-users at lists.sourceforge.net"
<nagios-users at lists.sourceforge.net>
Message-ID:
<93C487A372B3774CAEAA15D524CCF3D122883BBC2B at G1W0485.americas.hpqcorp.net>
Content-Type: text/plain; charset="us-ascii"
> I've noticed a sensible difference in the hosts displayed in the
> service detail' Nagios interface for last check. In some host the hour
> is consistent with the actual one, but in others I observe a
> differences of one or more hours.
>
> This can be due to some Nagios cache?
No, it's not due to cache. You probably just have services scheduled in a way that some don't run as often as others.
Without more information, it's impossible to say why you're seeing what you're seeing.
------------------------------
Message: 5
Date: Sun, 18 May 2008 16:15:09 -0300
From: "Rodrigo Pacheco" <fagundes.pacheco at gmail.com>
Subject: [Nagios-users] problemas with check_icmp
To: nagios-users at lists.sourceforge.net
Message-ID:
<924eed8b0805181215g16d17f2fr7c6d3b4188b72e3c at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Dear,
I'm having some problems with my Nagios 3.0 they are:
the plugin check_icmp to use the console in hand does not return the same
value when it is executed by Nagios (I am using the same syntax and host).
How could solve this?
Monitoring the local network realized that the values informed by the front
end of Nagios is a big difference. When I check_ping tests with the same
values are returned by both.
cheers,
Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
End of Nagios-users Digest, Vol 24, Issue 32
********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080519/ec9d37de/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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