Re: [Nagios-users] That didn't work what next?

2007-02-08 Thread Jorg . Schulz


 

 


-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För [EMAIL PROTECTED]
Skickat: den 8 februari 2007 20:07
Till: [EMAIL PROTECTED]
Kopia: nagios-users@lists.sourceforge.net
Ämne: Re: [Nagios-users] That didn't work what next?

Sam Fraser wrote:
> Thanks for being so helpful.

No worries, we've all been there.

> Ok, I've uninstalled mysql server and reinstalled mysql-server with
mysql-devel.  I tried again to ./configure and then make, it looks a lot
better but still get the errors.  Blow is the last section of output from
the ./configure, showing you that it has now found where the mysql_config
and following that my attempt at make.

OK, that's one good step forward.

> I'm running FC 6.

OK, fine.

> config.status: creating po/Makefile
> --with-apt-get-command: 
>   --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s
>--with-ping-command: /bin/ping -n -U -w %d -c %d  %s
>   --with-lwres: no
>--with-ipv6: yes
>   --with-mysql: /usr/bin/mysql_config
> --with-openssl: yes
>  --with-gnutls: no
>   --enable-emulate-getaddrinfo: no
>--with-perl:  /usr/bin/perl
>  --with-cgiurl: /nagios/cgi-bin
>--with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin
> [EMAIL PROTECTED] nagios-plugins-1.4.5]# make
> make  all-recursive
> make[1]: Entering directory `/root/nagios-plugins-1.4.5'
> Making all in lib
> make[2]: Entering directory `/root/nagios-plugins-1.4.5/lib'
> make  all-recursive
> make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib'
> Making all in tests
> make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests'
> make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory  `/root/nagios-plugins-1.4.5/lib'
> make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
> make[2]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
> Making all in plugins
> make[2]: Entering directory `/root/nagios-plugins-1.4.5/plugins'
> if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap  -I/u
> sr/include -I/usr/include/mysql  -I/usr/include/mysql -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu
> ffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2 -MT che
> ck_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo"
-c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || e
> cho './'`check_mysql.c; \
> then mv -f ".deps/check_mysql-check_mysql.Tpo"
".deps/check_mysql-check_mysql.Po"; else rm -f
".deps/check_mysql-check_mysql
> .Tpo"; exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o check_mysql
check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagi
> osplug.a ../lib/libcoreutils.a  -lnsl -lresolv -L/usr/lib64/mysql
-lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -l
> ssl -lcrypto 
> gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o utils.o
-L/root/nagios-plugins-1.4.5/plugins ../lib/libnagiosplug.a 
> ../lib/libcoreutils.a -lresolv -L/usr/lib64/mysql -lmysqlclient -lz
-lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
> /usr/bin/ld: cannot find -lmysqlclient
> collect2: ld returned 1 exit status
> make[2]: *** [check_mysql] Error 1
> make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/nagios-plugins-1.4.5'
> make: *** [all] Error 2

OK, not too bad then.

It would appear that the build is looking for the MySQL
libraries to link with. On my SuSE Linux 10.2 I have a
file called /usr/lib/libmysqlclient.so.15 that most
certainly would be the one. Further investigation shows
that the file belongs to mysql-shared-5.0.26-12.i586.rpm
(on my distro at least). The rpm distro packagers do it
slightly differently on different distros, but would you
mind having a look and see if you got the mysql-shared rpm
package somewhere in your distro, and if so make sure it's
installed. Failing that, see if you can find any other mysql
related rpm packages that are not yet installed.
/L

Hi , 

Thats´s your problem "/usr/bin/ld: cannot find -lmysqlclient " right? 

Try a 'ldconfig -v | grep mysql' and show the output 
Check your depends for mysql
And make a rpm -qa | grep -i mysql to see what is installed 
You are missing some packages shared-compat 

yum search mysql | grep 'core\|extras' 
yum -y install mysql mysqlclient10 mysqlclient10-devel mysqlclient14
mysqlclient14-devel

Are you running FC6 on a 64Bit machine ?
/joe

Re: [Nagios-users] interval_length=1 configuration directive

2007-02-08 Thread Thomas.Zimmer
I do the same, but know, that any check is executed again at least, when the 
last result has come back. So, it depends from the load on your nagios-server 
and network connections, how often a check is possible to run and how long a 
run takes.
Regards,
Thomas Zimmer
Produktservice & Betrieb
Betrieb & Support
Sal. Oppenheim jr. & Cie., Frankfurt a. Main
Telefon: +49 69 7134 5192
Internet: http://www.oppenheim.de
E-Mail: [EMAIL PROTECTED]



-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Marcel Mitsuto 
Fucatu Sugano
Gesendet: Donnerstag, 8. Februar 2007 21:59
An: Nagios Users
Betreff: [Nagios-users] interval_length=1 configuration directive


Good afternoon,

Has anyone bein able to successfully configure a Nagios instance with 
interval_length=1? Any experience to share about it?

TIA,
Marcel


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.

-
Using Tomcat but need to do more? Need to support web services, security? Get 
stuff done quickly with pre-integrated technology to make your job easier. 
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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

Diese E-Mail und eventuell beigefügte Anhänge enthalten vertrauliche 
Informationen, die rechtlich besonders geschützt sein können, z.B. durch das 
Bankgeheimnis. Diese Informationen sind ausschließlich für die als Adressaten 
genannten Personen bestimmt. Wenn Sie nicht der angeschriebene Empfänger sind 
oder diese E-Mail durch einen Übertragungsfehler erhalten haben, informieren 
Sie uns bitte sofort per E-Mail, Telefon oder Fax und löschen danach 
vorliegende E-Mail. Das unbefugte Kopieren dieser E-Mail, ihrer eventuell 
beigefügten Anhänge sowie die unbefugte Weitergabe der enthaltenen 
Informationen an Dritte sind nicht gestattet. Wir danken für Ihre Hilfe.


This e-mail message together with its attachments, if any, is confidential and 
may contain information subject to legal privilege, i.e. banking secrecy. The 
information contained in this e-mail or its attachments is intended solely for 
the persons named as addressees. If you are not the intended recipient or have 
received this e-mail in error, please advise us immediately by e-mail, 
telephone or fax and delete this message. Any unauthorised copying of this 
message or unauthorised distribution of the information contained herein is 
prohibited. Thank you for your co-operation.

BEGIN:VCARD
VERSION:2.1
N:Zimmer;Thomas
FN:Zimmer, Thomas (Produktservices und Betrieb)
ORG:;Produktservices und Betrieb
ADR;WORK:;;;FFM (Frankfurt)
LABEL;WORK:FFM (Frankfurt)
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050930T105258Z
END:VCARD
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___

[Nagios-users] cpu usage / memory usage

2007-02-08 Thread raghavendra kristam

Hi,

Can some one provide directions how to handle cpu usage / memory usage.
I am using check_disk plugin for disk usage.

Thanks,
Raghavendra.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
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] Help with Nagios Looking Glass 1.0.2

2007-02-08 Thread Stuart Thornton
Hi Garry

My original problem was an oversight in the client config file. 
$Stub_DownloadSource was set to the wrong URL.  Check that you have your
paths to the s3_download.php correct.

Cheers

Stu



>>> "Cook, Garry" <[EMAIL PROTECTED]> 9/02/2007 8:59 am >>>
I'm seeing this same error "Could not sync all required files with the
server."
I've verified that all files in /usr/local/nagios/share/client and
../server are owned by www-data, the user apache is running as. I've
also made sure that /usr/local/nagios/share/server/index is writable
by
www-data.
Still seeing the problem. 

Hmmm... Maybe the write permission solution was for the failure code
error. Reading through the thread again it looks like Stuart fixed the
original issue that I'm now seeing, but never mentioned how he did so.

Little help, Stu? 

Thanks,
Garry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Shellam (Mailing Lists)
Sent: Thursday, February 08, 2007 1:52 PM
To: Stuart Thornton
Cc: nagios-users@lists.sourceforge.net 
Subject: Re: [Nagios-users] Help with Nagios Looking Glass 1.0.2

Stuart Thornton wrote:
> Thanks Andy
>
> That sorted it out.  However either im going blind or thats not in
the

> PDF documentation.  The only permissions operations i see are 
> performed in the client area.
>   

No, you're right.  That change was introduced into 1.0.2, however the
manual applies for 1.0.0.  I'm still waiting on my manual author to
update it for me.
I did put a note in the release announcement on nagios-users, but it
can
easily go missed.  I will put a note on the website when I get a spare
second.

Thanks

Andy.




-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

___
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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] interval_length=1 configuration directive

2007-02-08 Thread Andy Shellam (Mailing Lists)
Marcel Mitsuto Fucatu Sugano wrote:
> Good afternoon,
>
> Has anyone bein able to successfully configure a Nagios instance with
> interval_length=1? Any experience to share about it?
>   

Originally I was a bit dubious of changing this from all the warnings 
that were in the config file, but (thanks to someone else who took the 
plunge) I set this to 1 when I configured my new Nagios 2.7 server and 
have not had any negative effects.

It can get a bit confusing sometimes as I haven't found a definitive 
list of which settings use the interval_length, but that could be just 
me skipping over bits in the manual :) .)

Regards,

Andy.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] interval_length=1 configuration directive

2007-02-08 Thread Marcel Mitsuto Fucatu Sugano
Good afternoon,

Has anyone bein able to successfully configure a Nagios instance with
interval_length=1? Any experience to share about it?

TIA,
Marcel


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Help with Nagios Looking Glass 1.0.2

2007-02-08 Thread Andy Shellam (Mailing Lists)
Stuart Thornton wrote:
> Thanks Andy
>
> That sorted it out.  However either im going blind or thats not in the
> PDF documentation.  The only permissions operations i see are performed
> in the client area.
>   

No, you're right.  That change was introduced into 1.0.2, however the 
manual applies for 1.0.0.  I'm still waiting on my manual author to 
update it for me.
I did put a note in the release announcement on nagios-users, but it can 
easily go missed.  I will put a note on the website when I get a spare 
second.

Thanks

Andy.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] host notifications missing info

2007-02-08 Thread Morris, Patrick

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Zachary Kloepping
> Sent: Thursday, February 08, 2007 11:19 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] host notifications missing info
> 
> Hello.  I have been tinkering with nagios for about a month 
> now and have been ignoring this issue up until now...

Check the macros in your notification commands. They are probably
incorrect.

http://nagios.sourceforge.net/docs/2_0/macros.html

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Trend monitoring

2007-02-08 Thread Lars Stavholm
David Rivera wrote:
> Hello All,
> 
> I was wondering?
> 
> Is there additional trend monitoring add-ons for servers/services available.
> 
> I currenlty am running Nagios v2.5 

Check out .
I don't know which one is best though,
I'm trying NagiosGrapher at the moment.
There might be others as well,
like .
/Lars

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Trend monitoring

2007-02-08 Thread David Rivera
Hello All,

I was wondering?

Is there additional trend monitoring add-ons for servers/services available.

I currenlty am running Nagios v2.5 


thanks much
David



Money can't buy happiness, but neither can poverty.
-Leo Rosten
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
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] host notifications missing info

2007-02-08 Thread Zachary Kloepping

Hello.  I have been tinkering with nagios for about a month now and have
been ignoring this issue up until now...

When a host of mine goes down, the notification email I receive is very
undescriptive as it doesn't have anything for the status, service or
additional info.  It looks like this:


** PROBLEM alert - www.myhost.net/ is  **

* Nagios 2.6 *

Notification Type: PROBLEM

Service:
Host: www.myhost.net
Address: www.myhost.net
State:

Date/Time: Thu Feb 8 04:13:52 CST 2007

Additional Info:




---

I am using check_command: check-host-alive.

All my service e-mails looks fine, its only the host ones that look like
this.

Thanks,
Zac
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
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] That didn't work what next?

2007-02-08 Thread Lars Stavholm
Sam Fraser wrote:
> Thanks for being so helpful.

No worries, we've all been there.

> Ok, I've uninstalled mysql server and reinstalled mysql-server with 
> mysql-devel.  I tried again to ./configure and then make, it looks a lot 
> better but still get the errors.  Blow is the last section of output from the 
> ./configure, showing you that it has now found where the mysql_config and 
> following that my attempt at make.

OK, that's one good step forward.

> I'm running FC 6.

OK, fine.

> config.status: creating po/Makefile
> --with-apt-get-command: 
>   --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s
>--with-ping-command: /bin/ping -n -U -w %d -c %d  %s
>   --with-lwres: no
>--with-ipv6: yes
>   --with-mysql: /usr/bin/mysql_config
> --with-openssl: yes
>  --with-gnutls: no
>   --enable-emulate-getaddrinfo: no
>--with-perl:  /usr/bin/perl
>  --with-cgiurl: /nagios/cgi-bin
>--with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin
> [EMAIL PROTECTED] nagios-plugins-1.4.5]# make
> make  all-recursive
> make[1]: Entering directory `/root/nagios-plugins-1.4.5'
> Making all in lib
> make[2]: Entering directory `/root/nagios-plugins-1.4.5/lib'
> make  all-recursive
> make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib'
> Making all in tests
> make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests'
> make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory  `/root/nagios-plugins-1.4.5/lib'
> make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
> make[2]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
> Making all in plugins
> make[2]: Entering directory `/root/nagios-plugins-1.4.5/plugins'
> if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. 
> -I.. -I.. -I../lib -I../intl -I/usr/include/ldap  -I/u
> sr/include -I/usr/include/mysql  -I/usr/include/mysql -g -pipe 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu
> ffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2 -MT che
> ck_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o 
> check_mysql-check_mysql.o `test -f 'check_mysql.c' || e
> cho './'`check_mysql.c; \
> then mv -f ".deps/check_mysql-check_mysql.Tpo" 
> ".deps/check_mysql-check_mysql.Po"; else rm -f  ".deps/check_mysql-check_mysql
> .Tpo"; exit 1; fi
> /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o check_mysql  
> check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagi
> osplug.a ../lib/libcoreutils.a  -lnsl -lresolv -L/usr/lib64/mysql 
> -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -l
> ssl -lcrypto 
> gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o utils.o  
> -L/root/nagios-plugins-1.4.5/plugins ../lib/libnagiosplug.a 
> ../lib/libcoreutils.a -lresolv -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt 
> -lnsl -lm -L/usr/lib64 -lssl -lcrypto
> /usr/bin/ld: cannot find -lmysqlclient
> collect2: ld returned 1 exit status
> make[2]: *** [check_mysql] Error 1
> make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/nagios-plugins-1.4.5'
> make: *** [all] Error 2

OK, not too bad then.

It would appear that the build is looking for the MySQL
libraries to link with. On my SuSE Linux 10.2 I have a
file called /usr/lib/libmysqlclient.so.15 that most
certainly would be the one. Further investigation shows
that the file belongs to mysql-shared-5.0.26-12.i586.rpm
(on my distro at least). The rpm distro packagers do it
slightly differently on different distros, but would you
mind having a look and see if you got the mysql-shared rpm
package somewhere in your distro, and if so make sure it's
installed. Failing that, see if you can find any other mysql
related rpm packages that are not yet installed.
/L

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Reverse service in Windows

2007-02-08 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Scott Mitchell
> Sent: Thursday, February 08, 2007 12:10 PM
> To: Nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Reverse service in Windows
> 
> OK I am relatively new to NAGIOS, but I haven't been able to find an
> answer to my issue. I would like to monitor a Windows 2003 service
that is
> normally not running and I would like to be notified when it is
running.
> Is this possible?

You want to negate the status of the normal process check result.
Failure to see the process running becomes OK, process running becomes
CRITICAL. An example can be found here --

http://article.gmane.org/gmane.network.nagios.user/45043

--
Marc

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Reverse service in Windows

2007-02-08 Thread Scott Mitchell
OK I am relatively new to NAGIOS, but I haven't been able to find an
answer to my issue. I would like to monitor a Windows 2003 service that
is normally not running and I would like to be notified when it is
running. Is this possible?

 

Scott Mitchell
StoreFinancial



 


Confidentiality Notice:
This message and any included attachments are from StoreFinancial Services, 
LLC, and are intended only for the addressee(s). The information contained in 
this message is confidential and may constitute inside or non-public 
information under international, federal, or state laws. Unauthorized 
forwarding, printing, copying, distribution, or use of such information is 
strictly prohibited and may be unlawful. If you are not the addressee, please 
promptly delete this message and notify the sender of the delivery error by 
e-mail. Thank you for your cooperation.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
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] notifications

2007-02-08 Thread Morris, Patrick
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Brian Loe
> Sent: Thursday, February 08, 2007 7:32 AM
> To: Nagios Users
> Subject: [Nagios-users] notifications
> 
> I have a contact group with everyone on the team in it. I 
> have another just for the on-call pager. I used to send 
> e-mails to both groups but now I'm paging them. Is there a 
> way to configure a notification to send a page to one 
> contact/contact group and an e-mail to another?

Sound slike you need two contacts for the group -- one that receives
alerts via pager, and one that receives them via email.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] That didn't work what next?

2007-02-08 Thread Sam Fraser
Thanks for being so helpful.

Ok, I've uninstalled mysql server and reinstalled mysql-server with 
mysql-devel.  I tried again to ./configure and then make, it looks a lot better 
but still get the errors.  Blow is the last section of output from the 
./configure, showing you that it has now found where the mysql_config and 
following that my attempt at make.

I'm running FC 6.

config.status: creating po/Makefile
--with-apt-get-command: 
  --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s
   --with-ping-command: /bin/ping -n -U -w %d -c %d  %s
  --with-lwres: no
   --with-ipv6: yes
  --with-mysql: /usr/bin/mysql_config
--with-openssl: yes
 --with-gnutls: no
  --enable-emulate-getaddrinfo: no
   --with-perl:  /usr/bin/perl
 --with-cgiurl: /nagios/cgi-bin
   --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin
[EMAIL PROTECTED] nagios-plugins-1.4.5]# make
make  all-recursive
make[1]: Entering directory `/root/nagios-plugins-1.4.5'
Making all in lib
make[2]: Entering directory `/root/nagios-plugins-1.4.5/lib'
make  all-recursive
make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib'
Making all in tests
make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests'
make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory  `/root/nagios-plugins-1.4.5/lib'
make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
make[2]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
Making all in plugins
make[2]: Entering directory `/root/nagios-plugins-1.4.5/plugins'
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. 
-I.. -I.. -I../lib -I../intl -I/usr/include/ldap  -I/u
sr/include -I/usr/include/mysql  -I/usr/include/mysql -g -pipe 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu
ffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2 -MT che
ck_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o 
check_mysql-check_mysql.o `test -f 'check_mysql.c' || e
cho './'`check_mysql.c; \
then mv -f ".deps/check_mysql-check_mysql.Tpo" 
".deps/check_mysql-check_mysql.Po"; else rm -f  ".deps/check_mysql-check_mysql
.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o check_mysql  
check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagi
osplug.a ../lib/libcoreutils.a  -lnsl -lresolv -L/usr/lib64/mysql -lmysqlclient 
-lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -l
ssl -lcrypto 
gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o utils.o  
-L/root/nagios-plugins-1.4.5/plugins ../lib/libnagiosplug.a 
../lib/libcoreutils.a -lresolv -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt 
-lnsl -lm -L/usr/lib64 -lssl -lcrypto
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[2]: *** [check_mysql] Error 1
make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nagios-plugins-1.4.5'
make: *** [all] Error 2
 
Sam

- Original Message 
From: Lars Stavholm <[EMAIL PROTECTED]>
To: Sam Fraser <[EMAIL PROTECTED]>
Cc: nagios-users@lists.sourceforge.net
Sent: Wednesday, 7 February, 2007 8:11:45 PM
Subject: Re: [Nagios-users] That didn't work what next?

Sam Fraser wrote:
> Hello Nagios users,
> 
> I've been having trouble installing nagios plugins as part of my first nagios 
> installation.  I was advised by someone on this email group that it was 
> because I didn't have mysql server installed.  I've now installed mysql 
> server but still get some very strange errors when compiling the plugins and 
> i don't know what they mean.  Any other suggestions?

Well, I did actually say more than that:|

You still seem to be missing the mysql source files, especially
[/usr/include/]mysql/errmsg.h and [/usr/include/]mysql/mysql.h.
It's either that or, if your mysql source files are in place,
you have to tell the plugin build were they are by means
of the configure option "--with-mysql", in case they are
in a nonstandard place. If you have a look at the configure
option --with-mysql, try "./configure --help", you'll see
that the --with-mysql is looking for the location of the file
mysql_config, which is part of the mysql-devel rpm package,
and therefore part of the source code. So, if you've installed
your mysql source code into /usr/local for example, the proper
configure statement would be "./configure --with-mysql=/usr/local"

It would help, and make it easier to help you, if you told us some
details about your environment, such as OS, distro, version, etc.

For example, on a SuSE Li

Re: [Nagios-users] Use service more than once for the same host

2007-02-08 Thread Petersen, Mark
The only way I know to do this is with multiple services for the host.
Something like the proxy server checks below.

 

# 'check_squid' command definition

define command{

command_namecheck_squid

command_line/usr/lib/nagios/plugins/check_http -H
$HOSTADDRESS$ -p $ARG1$  -u $ARG2$  -e 'HTTP/1.0 200 OK'

}

 

define service{

  hostgroup_nameproxy

  service_description   SQUIDS on 8080

  check_command check_squids!8080!/ServerStatus

  use   generic-unix

}

 

define service{

  hostgroup_nameproxy

  service_description   SQUIDS on 8081

  check_command check_squids!8081!/ServerStatus

  use   generic-unix

}

 

define service{

  hostgroup_nameproxy

  service_description   SQUIDS on 8082

  check_command check_squids!8082!/ServerStatus

  use   generic-unix

}

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mestdagh Tommy
Sent: Thursday, February 08, 2007 9:08 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Use service more than once for the same host

 

Check  -> HTPP_IP_PORT_URL  

 

Command definition:$USER1$/check_http -w $ARG1$ -c $ARG2$ -I
$HOSTADDRESS$ -p $ARG3$ -u $ARG4$ -s $ARG5   

Usage:check_http_anymap_mapping!ARG1!ARG2!ARG3!ARG4!ARG5   

Command line:  ?
check_http_anymap_mapping!10!20!8070!/anymap/servlet/AxisServlet!"And
now..."   

 

Hi all,  

 

I think I found a limitation on nagios, but I hope it's a limitations of
myself..

Basicly I want to run the same service 4 times (or more ion the future )
on the same server.  Offcourse every time with different  parameters.

Like  port -> $ARG3$  and uri -> $ARG4$  will be different.  I use the
groundworkopensource interface wish only allows unique services on one
server.

 

I wand to avoid that I have to copy the HTPP_IP_PORT_URL   to
HTPP_IP_PORT_URL1, and HTPP_IP_PORT_URL  2 and so one

 

Regards 

  Mestdagh Tommy

 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
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] Use service more than once for the same host

2007-02-08 Thread Josh Yost
Mestdagh Tommy wrote:
> 
> Basicly I want to run the same service 4 times (or more ion the future )
> on the same server.  Offcourse every time with different  parameters.
> 
>  I wand to avoid that I have to copy the HTPP_IP_PORT_URL  to
> HTPP_IP_PORT_URL1, and HTPP_IP_PORT_URL2 and so one
> 

Hi,
You should be able to use the 'use name_of_template' to inherit the
variables from the first service definition, so you don't have to copy
the full text.  I think that's what you were asking about.

Check the 'Object Inheritance' page of the documentation.

- Josh

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] NRPE for OpenVMS 8.2 Alpha?

2007-02-08 Thread Frost, Mark {PBG}

We have a need to bring the wholesome goodness of Nagios to the OpenVMS
8.2 (Alpha) platform.  Has anyone managed to build the NRPE daemon
there?

We may have to revert to trying rsh which I really hate to do.

Thanks

Mark

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] notifications

2007-02-08 Thread Brian Loe
I have a contact group with everyone on the team in it. I have another
just for the on-call pager. I used to send e-mails to both groups but
now I'm paging them. Is there a way to configure a notification to
send a page to one contact/contact group and an e-mail to another?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Use service more than once for the same host

2007-02-08 Thread Mestdagh Tommy
Check  -> HTPP_IP_PORT_URL 

 

Command definition:$USER1$/check_http -w $ARG1$ -c $ARG2$ -I
$HOSTADDRESS$ -p $ARG3$ -u $ARG4$ -s $ARG5   

Usage:check_http_anymap_mapping!ARG1!ARG2!ARG3!ARG4!ARG5   

Command line:  ?
check_http_anymap_mapping!10!20!8070!/anymap/servlet/AxisServlet!"And
now..."   

 

Hi all,  

 

I think I found a limitation on nagios, but I hope it's a limitations of
myself..

Basicly I want to run the same service 4 times (or more ion the future )
on the same server.  Offcourse every time with different  parameters.

Like  port -> $ARG3$  and uri -> $ARG4$  will be different.  I use the
groundworkopensource interface wish only allows unique services on one
server.

 

I wand to avoid that I have to copy the HTPP_IP_PORT_URL  to
HTPP_IP_PORT_URL1, and HTPP_IP_PORT_URL2 and so one

 

Regards 

  Mestdagh Tommy

 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
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] Scheduled Downtime

2007-02-08 Thread Rob Blake

On 2/8/07, Edwin Zoeller <[EMAIL PROTECTED]> wrote:


 Can anyone tell me the easiest way to schedule downtime for a service
everyday at a set time and duration?



Guess it depends what you mean by downtime. But if you just want a
configuration whereby you do not receive notifications for host/services
within a specified time for a set duration, then I would define a time
period that is valid upto your downtime and the begins after your downtime
has ended eg

define timeperiod{
  name example_timeperiod
  monday 00:00-12:00,15:00-24:00
  tuesday 00:00-12:00,15:00-24:00
  wednesday 00:00-12:00,15:00-24:00
  thursday 00:00-12:00,15:00-24:00
  friday 00:00-12:00,15:00-24:00
}

In essence Nagios will know that the host is down, but will not send
notifications due to it not being in a valid time period.

Rob




-

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
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] Scheduled Downtime

2007-02-08 Thread Edwin Zoeller
Can anyone tell me the easiest way to schedule downtime for a service
everyday at a set time and duration?
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
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] Nagios not polling httpd

2007-02-08 Thread edalB
nagios-0 libexec # ./check_http 10.0.4.37 -v
GET / HTTP/1.0
User-Agent: check_http/1.96 (nagios-plugins 1.4.5)


CRITICAL - Socket timeout after 10 seconds

On 2/7/07, Andy Shellam (Mailing Lists)
<[EMAIL PROTECTED]> wrote:
>
>  Robin Ericsson wrote:
>  On 2/7/07, edalB <[EMAIL PROTECTED]> wrote:
>
>
>  Well this is what I get
>
> nagios-0 ~ # telnet 10.0.4.37 80
> Trying 10.0.4.37...
> Connected to 10.0.4.37.
> Escape character is '^]'.
>
>  Then nagios shouldn't have any problems either.
>
>
>  Try running the "check_http" manually with the "-v" option, see if you get
> any useful info back.
>
>  Andy.
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> 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
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Help with Nagios Looking Glass 1.0.2

2007-02-08 Thread Stuart Thornton
Thanks Andy

That sorted it out.  However either im going blind or thats not in the
PDF documentation.  The only permissions operations i see are performed
in the client area.

Cheers

Stuart

>>> "Andy Shellam (Mailing Lists)"
<[EMAIL PROTECTED]> 8/02/2007 9:05 pm >>>
Stuart Thornton wrote:
> Update
>
> I managed to sort out the sync issue however was stumped by the next
> error.
>
> "The polling server feed returned a 'failure' code; the polling
server
> said: The poller could not re-build the indexes"
>   

The webserver user needs write permissions to NLG's "server/index"
folder.

Regards,

Andy.

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

___
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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] Help with Nagios Looking Glass 1.0.2

2007-02-08 Thread Andy Shellam (Mailing Lists)
Stuart Thornton wrote:
> Update
>
> I managed to sort out the sync issue however was stumped by the next
> error.
>
> "The polling server feed returned a 'failure' code; the polling server
> said: The poller could not re-build the indexes"
>   

The webserver user needs write permissions to NLG's "server/index" folder.

Regards,

Andy.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] timed out check_procs on solaris 10

2007-02-08 Thread Martin Møller Pedersen
On 08/02/07, Esben Bach <[EMAIL PROTECTED]> wrote:
> Did you ever find a solution for this?
>
> --
> Esben
>

No. So I wrote a small shell-script which does the check for me instead.


/Martin

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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] timed out check_procs on solaris 10

2007-02-08 Thread Esben Bach
Did you ever find a solution for this?

--
Esben

Martin Møller Pedersen wrote:
> Hi,
>   I have compiled the nagios-plugins-1.4.5 on a solaris 10 with gcc 3.4.6 but
> when I run check_procs it just times out ?!
>
>   Any advises ?
> Thanks
> /Martin
>
>
> pods7#  /usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z
> CRITICAL - Plugin timed out after 10 seconds
> pods7# ldd /usr/local/nagios/libexec/check_procs
> libsocket.so.1 =>/usr/lib/libsocket.so.1
> libssl.so.0.9.8 =>   /usr/local/ssl/lib/libssl.so.0.9.8
> libcrypto.so.0.9.8 =>/usr/local/ssl/lib/libcrypto.so.0.9.8
> libc.so.1 => /usr/lib/libc.so.1
> libnsl.so.1 =>   /usr/lib/libnsl.so.1
> libdl.so.1 =>/usr/lib/libdl.so.1
> libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
> libmp.so.2 =>/usr/lib/libmp.so.2
> libmd5.so.1 =>   /usr/lib/libmd5.so.1
> libscf.so.1 =>   /usr/lib/libscf.so.1
> libdoor.so.1 =>  /usr/lib/libdoor.so.1
> libuutil.so.1 => /usr/lib/libuutil.so.1
> libm.so.2 => /usr/lib/libm.so.2
> /platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
> /platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1
> pods7# id
> uid=0(root) gid=0(root)
> pods7# su - nagios
> $ /usr/local/nagios/libexec/check_procs
> CRITICAL - Plugin timed out after 10 seconds
>
>
> $ /usr/local/bin/gcc -v
> Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
> Configured with: ../configure --with-as=/usr/ccs/bin/as
> --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
> Thread model: posix
> gcc version 3.4.6
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> 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
>   


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
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