Re: [Nagios-users] error nagios-3.2 and nagios- pluggins-1.4.11 on a linux

2009-12-28 Thread Raviraj Patil
Yes,I have libltdl installed by ./configure , make & make install 
command from the  freeradius-server-2.1.7 folder.


linltdl comes along with the  freeradius-server-2.1.7 server.

My locate output is:
[r...@tataelxs-f8ba86 bin]# locate libltdl.so.*
/home/rbp/freeradius-server-2.1.7/libltdl/.libs/libltdl.so.3
/home/rbp/freeradius-server-2.1.7/libltdl/.libs/libltdl.so.3.1.4
/usr/local/lib/libltdl.so.3
/usr/local/lib/libltdl.so.3.1.4

Thanks
Raviraj

joyd...@infoservices.in wrote:

 box server runnning fedora 6.
MIME-Version: 1.0
Date: Mon, 28 Dec 2009 14:44:51 +0100
From: 
Cc: 
In-Reply-To: <4b38a4ca.7040...@tataelxsi.co.in>
References: <4b38a4ca.7040...@tataelxsi.co.in>
Message-ID: <4bb47cf8b2016cd09697a61f19911...@infoservices.in>
X-Sender: joyd...@infoservices.in
User-Agent: RoundCube Webmail/0.3.1
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8


On Mon, 28 Dec 2009 18:00:02 +0530, Raviraj Patil

 wrote:



  
I get this error : /usr/local/nagios/bin/nagios : error while loading 



  

the shared libraries: libltdl.so.3: cannot open shared object file:



  
No such file or directory. Any help to resolve this problem will be 



  

greatly appreciated.





Do you have libltdl package in your box ?



  


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Service dependencies

2009-12-28 Thread Martin Melin
A service that happens to be a check_ping is not the same thing as the
host check command.

The host check command should be a plugin that determines whether or
not the host is alive - usually a ping, but can be something else.

See http://nagios.sourceforge.net/docs/3_0/hostchecks.html for more
info on this, but as Marc explained, if you set up your host
definition with a correct check_command, what will happen when a host
goes down is this (without setting up regularly scheduled host
checks):

1. A service check fails on the host
2. Nagios immediately schedules a host check for the host
3. If the host check_command fails, notifications for all services on
the host are suppressed until the host check_command clears

which is what you want in this case.

Regards
Martin Melin

On Mon, Dec 28, 2009 at 8:26 PM, Brandino Andreas  wrote:
> Are you sure that it works that way??
> I disabled notifications for "ping" service, but still I receive
> notifications from other services although the host is down
>
> Do I have to enable any other option?
>
> Thank you
> Regards
>
>
>
> Friday, December 25, 2009, 4:19:08 PM, you wrote:
>
>> On Dec 25, 2009, at 5:28 AM, Brandino Andreas wrote:
>
>>> Hi all and happy holidays!
>>>
>>> Lets assume that a host has three service checks (ping, uptime and cpu). If 
>>> for some reason
>>> connection fails, a mail for each service is being sent (with random
>>> order).
>>> Is any way when "uptime" or "cpu" check fails (not when is critical), to
>>> force a "ping service" check and finally send a notification only for that
>>> service??
>>>
>>> This behavior can be achieved somehow? With services dependencies can
>>> I force a check to be performed at specific points?
>
>> No service dependencies needed. Get rid of the ping service check
>> and make it the host check. If a service on a host fails, the host
>> is checked. If the host check returns non-OK, notifications for
>> services are suppressed and only the host down notification is sent.
>
>> --
>> Marc
>
>
>> --
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> ___
>> Nagios-users mailing list
>> Nagios-users@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
>
> <> ---  -    -    -  --- <>
>    Brandino Andreas
>    ampra...@gmail.com
> <> ---  -    -    -  --- <>
>
>
> --
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> ___
> Nagios-users mailing list
> Nagios-users@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
>

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Service dependencies

2009-12-28 Thread Brandino Andreas
Are you sure that it works that way??
I disabled notifications for "ping" service, but still I receive
notifications from other services although the host is down

Do I have to enable any other option?

Thank you
Regards



Friday, December 25, 2009, 4:19:08 PM, you wrote:

> On Dec 25, 2009, at 5:28 AM, Brandino Andreas wrote:

>> Hi all and happy holidays!
>> 
>> Lets assume that a host has three service checks (ping, uptime and cpu). If 
>> for some reason
>> connection fails, a mail for each service is being sent (with random
>> order).
>> Is any way when "uptime" or "cpu" check fails (not when is critical), to
>> force a "ping service" check and finally send a notification only for that
>> service??
>> 
>> This behavior can be achieved somehow? With services dependencies can
>> I force a check to be performed at specific points?

> No service dependencies needed. Get rid of the ping service check
> and make it the host check. If a service on a host fails, the host
> is checked. If the host check returns non-OK, notifications for
> services are suppressed and only the host down notification is sent.

> --
> Marc


> --
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> ___
> Nagios-users mailing list
> Nagios-users@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

<> ---  ---  --- <> 
Brandino Andreas
ampra...@gmail.com
<> ---  ---  --- <> 


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] When to HUP and when to restart?

2009-12-28 Thread Morris, Patrick
Jim Avery wrote:
> 2009/12/24 Jonathan Call :
>   
>> If you’re using the embedded Perl interpreter a restart is probably better 
>> since the interpreter leaks memory.
>>
>> If you have a very large solution (thousands of service checks) a restart 
>> will take a considerable amount of time so a HUP would probably be wise in 
>> that situation.
>> 
>
>
> Thank you - it will make a huge difference not to have to restart once
> or twice a day.  Thanks to 6000 or so service checks and the NDO
> back-end a restart takes a minute or two.
>   

It should probably be noted that even a reload can take a while if 
you've got NDO on the back end, because it still needs to do all the 
database voodoo that happens when you restart.  The upside to a SIGHUP, 
though, is that Nagios just stops doing anything during that period, but 
won't throw an error page like it does on a full restart.

FWIW, we use embedded Perl here and thousands of service checks, and 
rarely, if ever, need to issue a full restart.

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Problems to run my Apache with nagios

2009-12-28 Thread Morris, Patrick
Guifre Bosch Fabregas wrote:
> I see this error in all my pages in nagios:
>
> *It appears as though you do not have permission to view information 
> for any of the hosts you requested...
> If you believe this is an error, check the HTTP server authentication 
> requirements for accessing this CGI
> and check the authorization options in your CGI configuration file.
> *
> When i install nagios i put:
>
> useradd -m nagios
> groupadd nagios
>
> usermod -a -G nagcmd nagios
> usermod -a -G nagcmd apache
>
> tar xzf nagios-3.2.0.tar.gz
> cd nagios-3.2.0
> ./configure --with-command-group=nagcmd --prefix=/nagios
> make all && make install && make install-init && make install-config 
> && make install-commandmode && make install-webconf
>
> htpasswd -c /nagios/etc/htpasswd.users admin
>
> tar xzf nagios-plugins-1.4.14.tar.gz
> cd nagios-plugins-1.4.14
> ./configure --with-nagios-user=nagios --with-nagios-group=nagcmd 
> --prefix=/nagios
> make && make install
>
> chcon -R -t httpd_sys_content_t /nagios/sbin/
> chcon -R -t httpd_sys_content_t /nagios/share/
>
>
>
> Where is my problem???

"admin" will need to be a contact on all the hosts and services you want 
to view, or you need to specify it as being authorized to view all hosts 
and services in your cgi.cfg.

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Nagios stops updating

2009-12-28 Thread Israel Brewster
I want to say this is a FAQ, as I seem to recall seeing something about this behavior before, but I didn't find anything with a quick search, and I don't thing there was any real solution posted, so I'm going to ask now. I am running Nagios 3.2.0 on OpenBSD 4.6. I have found that from time to time nagios will simply stop updating. No errors will be produced, and the nagios log will show normal operation right up until it stops updating. After that, nothing. I have implemented a work around of a script that checks for this and restarts nagios if needed, but obviously this is a sub-optimal solution. Has anyone  seen this behavior before that might have some idea how I can fix it? Or does anyone have a suggestion as to how I can go about debugging it? Thanks. ---Israel BrewsterComputer Support Technician IIFrontier Flying Service Inc.5245 Airport Industrial RdFairbanks, AK 99709(907) 450-7250 x293---BEGIN:VCARD
VERSION:3.0
N:Brewster;Israel;;;
FN:Israel Brewster
ORG:Frontier Flying Service;MIS
TITLE:PC Support Tech II
EMAIL;type=INTERNET;type=WORK;type=pref:isr...@frontierflying.com
TEL;type=WORK;type=pref:907-450-7293
item1.ADR;type=WORK;type=pref:;;5245 Airport Industrial Wy;Fairbanks;AK;99701;
item1.X-ABADR:us
CATEGORIES:General
X-ABUID:36305438-95EA-4410-91AB-45D16CABCDDC\:ABPerson
END:VCARD
 --
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] error nagios-3.2 and nagios- pluggins-1.4.11 on a linux box server runnning fedora 6.

2009-12-28 Thread joydeep

On Mon, 28 Dec 2009 18:00:02 +0530, Raviraj Patil
 wrote:

> I get this error : /usr/local/nagios/bin/nagios : error while loading 
> the shared libraries: libltdl.so.3: cannot open shared object file:
> No such file or directory. Any help to resolve this problem will be 
> greatly appreciated.

Do you have libltdl package in your box ?


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] error nagios-3.2 and nagios- pluggins-1.4.11 on a linux box server runnning fedora 6.

2009-12-28 Thread Raviraj Patil
On the basis of nagios quickstart guide, i install without error 
nagios-3.2 and nagios- pluggins-1.4.11 on a linux box server runnning 
fedora 6.
 But when i vérify the sample nagios configuration files via the 
following command /usr/local/nagios/bin/nagios -v 
/usr/local/nagios/etc/nagios.cfg
I get this error : /usr/local/nagios/bin/nagios : error while loading 
the shared libraries: libltdl.so.3: cannot open shared object file:
No such file or directory. Any help to resolve this problem will be 
greatly appreciated.

-Raviraj



--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Problems to run my Apache with nagios

2009-12-28 Thread Guifre Bosch Fabregas
I see this error in all my pages in nagios:

*It appears as though you do not have permission to view information for any
of the hosts you requested...
If you believe this is an error, check the HTTP server authentication
requirements for accessing this CGI
and check the authorization options in your CGI configuration file.
*
When i install nagios i put:


useradd -m nagios
groupadd nagios

usermod -a -G nagcmd nagios
usermod -a -G nagcmd apache

tar xzf nagios-3.2.0.tar.gz
cd nagios-3.2.0
./configure --with-command-group=nagcmd --prefix=/nagios
make all && make install && make install-init && make install-config && make
install-commandmode && make install-webconf

htpasswd -c /nagios/etc/htpasswd.users admin

tar xzf nagios-plugins-1.4.14.tar.gz
cd nagios-plugins-1.4.14
./configure --with-nagios-user=nagios --with-nagios-group=nagcmd
--prefix=/nagios
make && make install

chcon -R -t httpd_sys_content_t /nagios/sbin/
chcon -R -t httpd_sys_content_t /nagios/share/



Where is my problem???
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Nagios-users mailing list
Nagios-users@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