Re: [Nagios-users] Compilation errors

2006-09-14 Thread Frank Thyes
hi,

+++ [EMAIL PROTECTED] [Thu, Sep 14, 2006 at 11:14:15AM CEST]:
> collect2: ld returned 1 exit status
> make[1]: *** [nagios] Erreur 1
> make[1]: Leaving directory `/usr/local/src/nagios-2.5/base'
> make: *** [nagios] Erreur 2

Check your perl installation.

Frank
-- 
UNIX is simple, but you need a genius to understand that simplicity.

-
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] SMS notifications to a cell phone

2006-10-05 Thread Frank Thyes
+++ Andrea Gabellini [Thu, Oct 05, 2006 at 06:27:34PM CEST]:
> 
> > I am in the process of setting up nagios for monitoring key services in our
> > network setup. I have already tested and used the email method of sending
> > notifications using Sendmail as my relay host. I would be grateful if I get
> > some pointers for sending notifications using SMS to a cell number, in case
> > of service failures and recoveries. I went through the nagios docs. They
> > have mentioned  quite a few options for using SMS as a notification method.
> > But it seems that one needs to subscribe to the services of a service
> > provider to use any of those options. And the service provider should be
> > providing services in your country/location. Is it possible to use this
> > notification without subscribing to any specific paid service ?
> > 
> > I am extremely sorry if this question has already been answered before.

We are using yaps to send sms notifications via ISDN to cell phones.

Regards
Frank
-- 
There's never time to do it right, but there's always time to do it over.

-
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


Re: [Nagios-users] I give up ....

2006-11-13 Thread Frank Thyes
+++ Danilo [Mon, Nov 13, 2006 at 03:45:45PM CET]:
> 
> Ok, I am not (really not) a Perl Expert. I am simply trying to get
> out some values from ngraph.log to display free space on a windows
> server ...
> 
> 
> This is the line that nagios gives me.
> 
> PIPE: DB2   DISCO_D Disk ok - 25.33G (31%) free on \\10.1.1.8\d
> 
> 
> My check script in nagios_grapher is
> 
> 
> define ngraph {
> service_name DISCO
> graph_perf_regex [0-9]*\.[0-9]*G
> graph_value disk_free
> graph_units Bytes
> graph_legend spazio libero %
> rrd_plottype AREA
> rrd_color 00a000
> hide yes
> }
> 
> 
> 
> can somebody help me telling the right way to write a valid and fully
> functional regex to be able to catch the value (25.33G in this case)
> 
> 
> Thanks a lot .
> 
> 
> a coffee cup payed :-)

\s*([0-9]*\.[0-9]*)G or -\s*([0-9]*\.[0-9]*)G

Btw, this stupid pseudo regex has nearly nothing to do with perl ;)

Another suggestion, each time you have modified your ngraph.ncfg
file. Verify that there are no unprintable chars (vi :set list) like
blanks or tabs

Ciao
Frank
-- 
Join the ||==| Soon bombing
US World ||==| a small
  Domination |===| country
  Tour 2007! |===| near you!

-
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] check_nrpe 2.0 and simple shell scripting

2006-02-17 Thread Frank Thyes

Dear list,
im expieriencing a strange behaviour with check_nrpe in conjunction
with a simple shell script. The script does nothing exceptionally.
The script should check the files which hang around in the
postfic mailq. Sure for this purpose exists a special plugin called
check_mailq, but this plugin just calls the program mailq. Supposed
we have 20k mails in there the command needs a lot of time to
comlete. Its faster to count the files in active and deferred to get
the whole queue. Unfortunately each time i use something like the
example among, the script just return exit code 3, unkonw...

ACTIVE=`find /var/spool/postfix/active/ -type f | wc -l`
..
if [ $AMOUNT -ge 0 ]; then
..

Writing the output from find to a tmp file doesnt work too

/usr/bin/find /var/spool/postfix/active/ -type f > /tmp/active
ACTIVE=`cat /tmp/active| wc -l`

The general functionality has been verified with statical values.

Any ideas?

Regards
Frank

-- 
religion kill humans!


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] check_nrpe 2.0 and simple shell scripting

2006-02-17 Thread Frank Thyes
Hi Marc,

+++ Marc Powell [Fri, Feb 17, 2006 at 08:40:48PM CET]:
> 
> Typically mail queues are only readable by root. Have you modified
> permissions on the queue directory, the script or are you using sudo to
> run it successfully as a non-root user? The mailq command typically has
> the required permissions and that's why it's used by check_mailq.

Sorry i forgot to mention. Yes i have tried running the nrpe
daemon as root and also setting the script suid even starting the
daemon directly as root or from inetd.
 
> Are you exiting with the proper output and exit code that nagios
> requires? See the Developer Guidelines at http://nagiosplug.sf.net if
> you haven't already. 

I know the site, the return codes are used as decribed.
 
> As to why your script always exits with code 3, we can't tell you since

My mistake the return code isnt 3 its 0 see the log...

> we didn't write the script and you didn't post enough of it to tell
> anything really useful. If that's not what it should be exiting with,
> then change the script to return the proper exit code.

Query from the monitoring host. Its not the first time that i am
using nrpe, other scripts (perl and shell) works as expected.

./check_nrpe -H 10.0.33.180 -c mail 
CHECK_NRPE: Error receiving data from daemon.

The nrpe.cfg on the client which should be checked contains the following line.
command[mail]=/path/to/script/mail

The script is executable and the daemon is started from inetd. Inetd.conf
calls the deamon as root (testing only). The script runs fine if
executed from the shell.

Debugging enabled shows me:
Feb 17 21:04:14 x nrpe[5777]: Added
command[mail]=/path/to/script/mail
Feb 17 21:04:14 x nrpe[5777]: INFO: SSL/TLS initialized. All
network traffic will be encrypted.
Feb 17 21:04:14 x nrpe[5777]: Handling the connection...
Feb 17 21:04:14 x nrpe[5777]: Host is asking for command 'mail'
to be run...
Feb 17 21:04:14 x nrpe[5777]: Running command:
/path/to/script/mail
Feb 17 21:04:15 x nrpe[5777]: Command completed with return
code 0 and output:   0

The script looks like this one (its not the original script but the
error can be reproduced with it)

#!/bin/bash
# 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN
ACTIVE=`find /var/spool/postfix/active/ -type f | wc -l`
DEFERRED=`find /var/spool/postfix/active/ -type f | wc -l`
AMOUNT=`expr $ACTIVE + $DEFERRED`

THRESHOLD_WARNING=1
THRESHOLD_CRITICAL=15000

if [ $AMOUNT -ge 0 ]; then
if [ $AMOUNT -lt $THRESHOLD_WARNING ]; then
echo $AMOUNT
exit 0
fi
fi
if [ $AMOUNT -gt $THRESHOLD_WARNING ]; then
if [ $AMOUNT -lt $THRESHOLD_CRITICAL ]; then
echo $AMOUNT
exit 1
fi
fi
if [ $AMOUNT -gt $THRESHOLD_CRITICAL ]; then
echo $AMOUNT
exit 2
fi
echo unknown; exit 3

xx:# ./mail
9986
xx:# echo $?
0

Regards
Frank
-- 
We belong to here where no one cares 
and no one loves. No light and no air to live in
a place called hate, the city of fear.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] NRPE SSL Error

2006-03-02 Thread Frank Thyes
Hi Vincent,

+++ Vincent Ngundi [Thu, Mar 02, 2006 at 12:08:37PM CET]:
> 
> I'm getting the following error when I run NRPE on a remote host:
> 
> "CHECK_NRPE: Error - Could not complete SSL handshake."
> 
> I have looked at the NAGIOS FAQ section and none of the posts seems to
> be of help. Anyone out there??

Have you build the nrpe daemon with ssl? What does ldd nrpe say? Log
enabled?

Regards
Frank
-- 
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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] NRPE SSL Error

2006-03-02 Thread Frank Thyes
Hi Vincent,

+++ Vincent Ngundi [Thu, Mar 02, 2006 at 01:51:59PM CET]:
> 
> Thanks for your response.
> 
> * Yes, I have compiled the nrep daemon with ssl. I ran 
>   ./configure --enable-ssl
> 
> * ldd nrpe returns "ldd: nrpe: No such file or directory"

You have to specify the path to your nrpe binary!

1. Build nrpe
2. Copy the binary and alls plugins which nrpe should use to the
host which you like to monitor.
3. Start the daemon on that host (For debugging purposes use nrpe -d -c
/path/to/nrpe.cfg) enable debugging in nrpe.cfg and watch your logs.
4. Test if the daemon works from your server 

If you see output like:

./check_nrpe -H xxx.xxx.xxx .xxx
NRPE v2.0

Nrpe works as expected. If not, try the README which is a really
good starting point...

Regards
Frank 

-- 
Living on Earth may be expensive, but it includes an annual free trip 
around the Sun.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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] NRPE SSL Error

2006-03-02 Thread Frank Thyes
+++ Frank Thyes [Thu, Mar 02, 2006 at 02:11:21PM CET]:
> Hi Vincent,
> 
> +++ Vincent Ngundi [Thu, Mar 02, 2006 at 01:51:59PM CET]:
> > 
> > Thanks for your response.
> > 
> > * Yes, I have compiled the nrep daemon with ssl. I ran 
> >   ./configure --enable-ssl
> > 
> > * ldd nrpe returns "ldd: nrpe: No such file or directory"
> 
> You have to specify the path to your nrpe binary!
> 
> 1. Build nrpe
> 2. Copy the binary and alls plugins which nrpe should use to the
> host which you like to monitor.
> 3. Start the daemon on that host (For debugging purposes use nrpe -d -c
> /path/to/nrpe.cfg) enable debugging in nrpe.cfg and watch your logs.
> 4. Test if the daemon works from your server 
> 
> If you see output like:
> 
> ./check_nrpe -H xxx.xxx.xxx .xxx
> NRPE v2.0
> 
> Nrpe works as expected. If not, try the README which is a really
> good starting point...

addendum...

If it doesnt work, try to build the binary on your monitoring host.
You have to install the openssl package on each system. A other
possibility ist to not create a dynamical executable. This binary
can be used on each of your linux boxes.

Regards
Frank
-- 
In the beginning was the word and the word was content-type:
text/plain


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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] documentation/tutorial for configuring nrpe or ncsa for monitoring remote servers(windows/linux/unix)

2006-04-03 Thread Frank Thyes
+++ ankush grover [Tue, Apr 04, 2006 at 06:59:06AM CEST]:
> 
> I did not find the documentation or tutorial for nrpe or ncsa for monitoring
> remote servers in Nagios Documentation.I am using Nagios on Centos 4.0 and
> want to monitor Windows,Linux and Unix servers & clients.

Download the nrpe Plugin and follow the instructions in den README.

Cheers
Frank
-- 
Nature always sides with the hidden flaw.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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.lock

2006-04-28 Thread Frank Thyes
Hi Guillermo,

+++ Guillermo Bellettini [Fri, Apr 28, 2006 at 09:42:56AM CEST]:

> Hi there, I have changed the location of the lock file on nagios.cfg and now
> I cannot stop nagios daemon process.
 
Where did you make changes?  
 
> The error message is: cannot stop nagios. /var/log/nagios/nagios.lock cannot
> be found
> 
> Is there any command to restore this?

Sure, use the same commands in reverse order.

Regards
Frank
-- 
God save the screen.


---
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] Monitoring HTTPS

2006-05-18 Thread Frank Thyes
+++ Marc Powell [Thu, May 18, 2006 at 06:37:51PM CEST]:
> 
> check_http --help
> 
> -S, --ssl
> Connect via SSL
> 
> A specific example --
> 
> ~nagios/libexec/check_http -S -H my.site.com -I my.site.ip -u /page.html
> -wt 20 -ct 30 -to 35 

Is there a possibillity to check the remaining time from an ssl
certificate? Dont blame me because i am to lazy to recompile and
try. :)

Regards
Frank
-- 
"Contrary to popular belief, Unix isnt user friendly. It just
happens to be selective about who it makes friends with."


---
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] Monitoring HTTPS

2006-05-18 Thread Frank Thyes
+++ C. Bensend [Thu, May 18, 2006 at 08:29:30PM CEST]:
> 
> > Is there a possibillity to check the remaining time from an ssl
> > certificate? Dont blame me because i am to lazy to recompile and
> > try. :)
> 
> Yes.

Yes it should be able to do this. From the help:

CHECK CERTIFICATE: check_http www.verisign.com -C 14

When the certificate of 'www.verisign.com' is valid for more than 14
days, a STATE_OK is returned. When the certificate is still valid, but for
less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be
returned when the certificate is expired.

:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http
www.verisign.com -C 14
HTTP OK HTTP/1.1 200 OK - 29788 bytes in 1.565 seconds
|time=1.564926s;;;0.00 size=29788B;;;0
:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http
www.verisign.com -C 0 
HTTP OK HTTP/1.1 200 OK - 29788 bytes in 0.897 seconds
|time=0.896714s;;;0.00 size=29788B;;;0
:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http
www.verisign.com -C 1
HTTP OK HTTP/1.1 200 OK - 29788 bytes in 0.895 seconds
|time=0.895433s;;;0.00 size=29788B;;;0
:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http
www.verisign.com -C 100
HTTP OK HTTP/1.1 200 OK - 29788 bytes in 0.898 seconds
|time=0.897858s;;;0.00 size=29788B;;;0
:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http
secure.friendscout24.de -C 1000   
HTTP OK HTTP/1.1 200 OK - 47462 bytes in 0.043 seconds
|time=0.043246s;;;0.00 size=47462B;;;0
:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http
secure.friendscout24.de -C 1
HTTP OK HTTP/1.1 200 OK - 47462 bytes in 0.036 seconds
|time=0.036184s;;;0.00 size=47462B;;;0
:/usr/local/src/nagios-plugins-1.4.2/plugins# ldd check_http
libnsl.so.1 => /lib/tls/libnsl.so.1 (0x4001c000)
libresolv.so.2 => /lib/tls/libresolv.so.2 (0x4003)
libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40043000)
libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0x40074000)
libc.so.6 => /lib/tls/libc.so.6 (0x40173000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x402a8000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)

Am i missing something? Or does verisign believe that they will live
forever?

Frank
-- 
My software never has bugs... it just develops random features...


---
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] Monitoring HTTPS

2006-05-18 Thread Frank Thyes
+++ C. Bensend [Thu, May 18, 2006 at 09:17:47PM CEST]:
 
> You're not testing SSL (missing the -S switch).  Here is my
> check_cert definition:
> 
> define command{
> command_namecheck_cert
> command_line$USER1$/check_http -S -H $ARG1$ -C 7 -t 20
> }
> 
> Note you'll have to follow the previous instructions to get SSL
> support first.

x:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http
www.verisign.com -S -C 1
WARNING - Certificate expires in 379 day(s) (06/01/2007 23:59).

Bloody help file...

x:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http -h
CHECK CERTIFICATE: check_http www.verisign.com -C 14

When the certificate of 'www.verisign.com' is valid for more than 14
days, a STATE_OK is returned. When the certificate is still valid, but for
less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be
returned when the certificate is expired.

Thanks C.

Regards
Frank
-- 
Computers are like air conditioners. Both stop working,
if you open windows.


---
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] question about nagiosgraph

2006-05-26 Thread Frank Thyes
Hi Emilio,

+++ Guillermo Bellettini [Fri, May 26, 2006 at 02:52:38PM CEST]:
>  
> 
> Hi there, I've just installed nagiosgraph under debian linux following the
> INTALL file instructions.
> 
> I see the "rrd" directory has several rrd files but nagios is not showing
> the graphs.
> 
> I've checked the permissions and the cfg files from nagios and everything
> seems to be OK..
> 
> The show.cgi file is ok and the permissions also.
> 
> When I click on the graph icon, Nagios shows the information status instead
> of the graphics.

Information status? What do you mean?
 
> Any suggestion to fix this?

A common mistake by nagiosgrapher is to have some spaces or tabs in
the config. Check your grapher definitions with vi. If the file is
loaded type :set list 

Regards
Frank
-- 
"Mad cow? You'd be mad too, if someone was trying to eat you."


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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] check_snmp_storage.pl

2006-05-26 Thread Frank Thyes
+++ Shah, Maunir [Fri, May 26, 2006 at 09:42:23PM CEST]:

> I'm running this script and it works fine with Solaris 10, which is my
> personal box at work.   But, when I try to run this same script to
> different boxes I get an error
 
The green one? Or do you mean the red one?

> "ERROR: Description/Type table : Requested table is empty or does not
> exist."
 
Whats the difference between the systems (except from the color ;)?

> Can't seem to figure out what's wrong and also I'm just not that savvy
> in snmp.  Any help would be appreciated...

Regards
Frank
-- 
Documentation is like sex: when it is good, it is very, very good; and
when it is bad, it is better than nothing.


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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] How to monitor complex websites?

2006-06-07 Thread Frank Thyes
Hi Richard,

+++ Richard Luys-Nagios User [Wed, Jun 07, 2006 at 12:40:39PM CEST]:
> 
> I have to monitor a website that is more complex than check_http can  
> handle. Please advise.
> 
> 1.
> The website we need to monitor contains a MDM application for a product  
> search. This is dynamic and browser-restricted content. The User-Agent  
> string of the browser is checked and if not correct you will be redirected  
> to a static error page, instead of the search form which is dynamically  
> generated (with some fields filled in with defaults).
> 
> 2.
> This website runs on a cluster consisting of 5 nodes. Users connect to  
> these nodes based on a round-robbing principle. When a node goes down it  
> is possible that they get a error-message telling them the server is  
> unavailable. When this happens the node-number of the node that is  
> misbehaving can be found in a cookie. So what we like to have is the  
> following:
> - check the website
> - if it gives an error read the nodenumber from the cookie
> - Create a CRITICAL for the website with the node-number in the output
> 
> We need to monitor this website, but check_http cannot (afaik) send a  
> specified User-Agent string. Is anybody aware of another solution, or  
> should I create one? If the latter: I was thinking about creating a check  
> based on wget, since wget is able to send User-Agent strings and can do  
> something with cookies as well. Can someone with enough knowledge on this  
> matter tell me if this is doable, or should I walk another path?
> 
> Please advise, any suggestions are welcome!

Use Perl.

Regards
Frank
-- 
#!/usr/bin/perl 
print&f(($_=(3x3)."3+33")=~s=3(?![^3]|$)=&f=eg);
sub f{eval(@_?$_:"'$&+'x3");}


___
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] NRPE

2006-07-28 Thread Frank Thyes
Hi Martin,

+++ Martin J. Green [Fri, Jul 28, 2006 at 03:45:37PM CEST]:
> There isn't a server name in nrpe.cfg, nor is it documented in any of
> the docs - can u enlighten me further?

Strip out the comments and post the complete nrpe.cfg

Is it possible to telnet your client? 

$ telnet blub 5666
Trying xx.x.xx.x...
Connected to bla.blabla.blub.eu.
Escape character is '^]'.
Connection closed by foreign host.

If so, for debugging purposes use check_nrpe -H  from
your Server... maybe your command definition on client side is
bogus.

Frank
-- 
Religion kill humans!

-
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