Re: [Nagios-users] check_ntp_peer reports stratum off-by-one?

2012-01-03 Thread Paul WILLIS PSE 55499
Hi Matthew
 
I apologise for lecturing you, I thought you were confused over that aspect. 
But certainly it is reporting the
stratum of its peer. With -v on one of our servers I get for example in part 
parsing stratum from peer bf36: 2
and bf36 hex is 48950 which is the associationID of our timesource which is 
stratum 2. 
We only have a single timesource so I'm not sure how it deals with multiple 
host strata. My guess
would be it just takes that of the asterisked timesource.
 
Regards
 
Paul Willis


>>> Matthew Pounsett  30/12/11 17:06 >>>

On 2011/12/30, at 06:03, Paul WILLIS PSE 55499 wrote:

> Hi Matthew
>  
> Its neither, its actually you not understanding what peer means. Peer is 
> effectively the next time server (or servers) up the chain,
> so generally they will be different by one. To  see what peer means, type in 
> ntpq, then type in peer. That will list the peers of your server and their 
> strata, NOT the stratum of your server. The main usage of peers is to make 
> sure you are getting time from the correct source or sources. If it is only 
> showing local sources for example it indicates you have lost contact with the 
> external ntp sources and are just using the hardware clock.

I understand exactly how NTP works and what a peer is.  The ntpq command I ran 
is giving me the stratum of that server, not of its peers.  Are you saying that 
check_ntp_peer connects to a remote server and reports on its *peers* rather 
than on it?  That seems to contradict the help documentation.  How is it able 
to distill the strata of several of that server's peers into a single stratum 
value?



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
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
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev___
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_ntp_peer reports stratum off-by-one?

2011-12-30 Thread Paul WILLIS PSE 55499
Hi Matthew
 
Its neither, its actually you not understanding what peer means. Peer is 
effectively the next time server (or servers) up the chain,
so generally they will be different by one. To  see what peer means, type in 
ntpq, then type in peer. That will list the peers of your server and their 
strata, NOT the stratum of your server. The main usage of peers is to make sure 
you are getting time from the correct source or sources. If it is only showing 
local sources for example it indicates you have lost contact with the external 
ntp sources and are just using the hardware clock.
 
Paul Willis

>>> Matthew Pounsett  29/12/11 16:16 >>>

It looks like I'm seeing a problem with the check_ntp_peer plugin, and the way 
it reports stratum.  It seems to be reducing the stratum by one on every server 
it checks.

% ntpq -c readvar | grep stratum
system="FreeBSD/8.2-RELEASE-p4", leap=00, stratum=3, precision=-19,

% ./check_ntp_peer -H localhost -W 3:3
NTP WARNING: Offset 0.007225 secs, 
stratum=2|offset=0.007225s;60.00;120.00; stratum=2;3;16;0;16

% ssh linuxbox ntpq -c readvar | grep stratum
processor="x86_64", system="Linux/2.6.32-36-server", leap=00, stratum=3,

% ./check_ntp_peer -H linuxbox -W 3:3
NTP WARNING: Offset -0.02112 secs, 
stratum=2|offset=-0.021120s;60.00;120.00; stratum=2;3;16;0;16

Is this a bug somewhere, or have I misunderstood the function of -W and -C?



--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
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 email and any other accompanying document (s) contain information from 
Kent Police, which is confidential or privileged.  The information is intended 
to be for the exclusive use of the individual(s) or bodies to whom it is 
addressed. The content including any subsequent replies could be disclosable if 
relating to a criminal investigation or civil proceedings. If you are not the 
intended recipient, be aware that any disclosure, copying, distribution or use 
of the contents of this information is prohibited. If you have received this 
email in error, please notify us immediately by contacting the sender or 
telephoning 01622 690690.--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
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_openmanage weirdness

2010-05-20 Thread Paul WILLIS PSE 55499
I use check_snmp to get certain traps from Openmanage but I
suspect check_openmanage works the same way. There is a 
separate mib (dcstorag(10893).mib) for the disk storage side as
opposed to the rest of the chassis (10892.mib) so my guess
would be the problem lies there.
What does the following give you?
define command{
  command_namedell_returnglobaldiskstatus
  command_line$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$  -w 0:3 -c 7:5  
-o .1.3.6.1.4.1.674.10893.1.20.110.13.0 -l 'Disk Status' -P 2c
  }
where ARG1 is your community string
 
Regards
Paul

>>> Greg Etling  19/05/10 20:50 >>>
I have just started implementing some check_openmanage checks on my 
servers, and have run into some odd behavior with the combination of 
Windows 2003, OM 6.2 and the SNMP check. It appears that this 
combination is having issues with the drive/controller reporting. 
Initially things worked fine under OM 5.4, until the SNMP service would 
die (other than that, Mrs. Lincoln...) - so i upgraded to OM 6.2, when I 
observed the following behaviour.

When the check is run without any blacklisting, the plugin reports that 
there is a global status WARNING, but all components are OK - the 
WARNING is coming from out of date Firmware/Driver versions as listed below:

--
Firmware/Driver Information for Controller PERC 6/i Integrated
Firmware Version6.0.3-0002
Minimum Required Firmware Version6.2.0-0012
Driver Version2.14.00.32
Minimum Required Driver Version2.23.00.32
Storport Driver Version5.2.3790.3959
Minimum Required Storport Driver Version5.2.3790.4173
--

Now when run in debug mode, I noticed that it had no information about 
the drives at all (note the beta version - same output as plugin v3.5.7):
--
[r...@sys-mgt-1 stern]# ./check_openmanage -H testserver -C *
System:  PowerEdge 2950
ServiceTag:  XXX  OMSA version:6.2.0
BIOS/date:   2.3.1 04/29/2008 Plugin version:  3.5.8-beta7
-
Chassis Components
=
   STATE  |  ID  |  MESSAGE TEXT
-+--+
   OK |1 | Memory module 1 [DIMM1, 2048 MB] is Ok
   OK |2 | Memory module 2 [DIMM2, 2048 MB] is Ok
   OK |3 | Memory module 3 [DIMM3, 2048 MB] is Ok
   OK |4 | Memory module 4 [DIMM4, 2048 MB] is Ok
   OK |1 | Chassis fan 1 [System Board FAN 1 RPM]: 7050
   OK |2 | Chassis fan 2 [System Board FAN 2 RPM]: 7125
   OK |3 | Chassis fan 3 [System Board FAN 3 RPM]: 7125
   OK |4 | Chassis fan 4 [System Board FAN 4 RPM]: 7050
   OK |0 | Power Supply 0 [AC]: Presence detected
   OK |1 | Power Supply 1 [AC]: Presence detected
   OK |0 | Temperature Probe 0 [System Board Ambient Temp] reads 
22 C (min=8/3, max=42/47)
   OK |0 | Processor 0 [Intel Xeon E5440 2.83GHz] is Present
   OK |1 | Processor 1 [Intel Xeon E5440 2.83GHz] is Present
   OK |0 | Voltage sensor 0 [CPU1 VCORE] is Good
   OK |1 | Voltage sensor 1 [CPU2 VCORE] is Good
   OK |2 | Voltage sensor 2 [System Board CPU VTT] is Good
   OK |3 | Voltage sensor 3 [System Board 1.5V PG] is Good
   OK |4 | Voltage sensor 4 [System Board 1.8V PG] is Good
   OK |5 | Voltage sensor 5 [System Board 3.3V PG] is Good
   OK |6 | Voltage sensor 6 [System Board 5V PG] is Good
   OK |7 | Voltage sensor 7 [Riser 1.5V PXH PG] is Good
   OK |8 | Voltage sensor 8 [Riser 5V Riser PG] is Good
   OK |9 | Voltage sensor 9 [System Board Backplane PG] is Good
   OK |   10 | Voltage sensor 10 [System Board Linear PG] is Good
   OK |   11 | Voltage sensor 11 [System Board 0.9V PG] is Good
   OK |   12 | Voltage sensor 12 [System Board 0.9V Over Volt] is Good
   OK |   13 | Voltage sensor 13 [System Board CPU Power Fault] is Good
   OK |0 | Battery probe 0 [System Board CMOS Battery] is 
Presence Detected
   OK |0 | Chassis intrusion 0 detection: Ok (Not Breached)
-
Other messages
=
   STATE  |  MESSAGE TEXT
-+---
   OK | ESM log health is Ok (less than 80% full)
OOPS! Something is wrong with this server, but I don't know what. The 
global system health status is WARNING, but every component check is OK. 
This may be a bug in the Nagios plugin, please file a bug report.
--

And the Status as reported to Nagios believes that there are no disks 
whatsoever on the server:
--
OK - System: 'PowerEdge 2950', SN: 'XXX', hardware working fine, 0 
logical drives, 0 physical drives
--

This has been re

Re: [Nagios-users] Parsing Logs

2010-05-05 Thread Paul WILLIS PSE 55499
Stephen
 
Most email systems move messages to a retry queue if the first attempt at 
sending fails.
If your email does something like that you can just write a simple script to 
check whether
it is empty or not and return a status to Nagios. There might be a genuine 
reason why
the first send fails, but at least you get alerted. You could even get the 
script to send a
test email at this point and check whether the queue grows by one.
 
Regards
 
Paul Willis

>>> "Stephen H. Dawson"  04/05/10 10:57 >>>
Hi,
 
 
We have looked at the check_smtp option to meet our need, but do not believe 
this option will work.  Looking for perhaps another option.
 
Failure of an SMTP connection to our ISP's mail server with Nagios will only 
tell us that the Nagios attempt to connect has failed, at that particular point 
in time.  We are running our Nagios box on CentOS.  The CentOS attempt itself 
could well connect and send a message a few seconds/minutes before or after 
that.  We also run the risk of being accused of 'excessive' number of emails 
with our ISP's email server.


So the only reliable way of checking if ISP SMTP relay connection works is to 
parse the CentOS logs and look for failures to authenticate/send.
Has anyone parsed a log for review with Nagios?  If so, please advise.
 
Thanks,
SHD
--
___
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 3 Include File Mechanism

2010-04-15 Thread Paul WILLIS PSE 55499
Use the cfg_dir=  command in the main config file. All files with a 
.cfg extension in that directory will be
automatically included as well.
 
Paul 

>>> Traiano Welcome  15/04/10 11:19 >>>
Hi List

I have an awkward nagios 3 configuration setup where configs for monitored
hosts are automatically generated from a database, but I also have need to
add new hosts via a manual method in a separate configuration file.
It looks like an "include file" mechanism would be needed in the main nagios
configuration file that would point to single file that holds all the
configs for hosts added manually.

Is there such a configuration option in NAGIOS 3?

Thanks in advance,
Traiano Welcome


NOTE: This e-mail message and all attachments thereto contain confidential 
information intended for a specific addressee and purpose. If you are not the 
addressee (a) you may not disclose, copy, distribute or take any action based 
on the contents hereof; (b) kindly inform the sender immediately and destroy 
all copies hereof. Any copying, publication or disclosure of this message, or 
part hereof, in any form whatsoever, without the sender's express written 
consent, is prohibited. No opinion expressed or implied by the sender 
necessarily constitutes the opinion of MTN. This message does not constitute a 
guarantee or proof of the facts mentioned herein. No Employee or intermediary 
is authorised to conclude a binding agreement on behalf of MTN Group Limited, 
or any of its subsidiary companies, by e-mail without the express written 
confirmation by a duly authorised representative of MTN Group Limited.

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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_jmx plugin problem

2010-04-15 Thread Paul WILLIS PSE 55499
Hi Emmanuel
 
What user/group do you have set in /etc/xinet.d/nrpe? Are you sure that 
combination has all the rights it needs?
Perhaps its worth setting it to root or putting an entry in the sudoers file to 
allow that user to run the command. It looks like
it cannot read one of the java files, possibly jmxquery.jar?
 
 
Regards
 
Paul
 

>>> Emmanuel Chanteloup  15/04/10 10:28 >>>
Hi,

I tried with check_by_ssh, to give it a try :

/usr/local/nagios/libexec/check_by_ssh -H apwebscp01 -l nagios -C 
"/usr/local/nagios/libexec/check_jmx -U 
service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory"

Remote command execution failed: Exception in thread "main" 
java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin

[nag...@aporcl11g objects]$ /usr/local/nagios/libexec/check_by_ssh -H 
apwebscp01 -l nagios -C "/usr/local/nagios/libexec/check_jmx -U 
service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O 'java.lang:type=Memory'"

Remote command execution failed: Exception in thread "main" 
java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin


[nag...@aporcl11g objects]$ /usr/local/nagios/libexec/check_by_ssh -H 
apwebscp01 -l nagios -C "/usr/local/nagios/libexec/check_jmx -U 
service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O '\java.lang:type=Memory'"
Remote command execution failed: Exception in thread "main" 
java.lang.NoClassDefFoundError: ch.syabru.nagios.NagiosJmxPlugin

Any help would be appreciated.

Regards,

Emmanuel

2010/4/13 Natxo Asenjo 


On Tue, Apr 13, 2010 at 9:34 AM, Emmanuel Chanteloup
 wrote:
> command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U
> service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
> -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used - -w 8 -c
> 15

ok, try this:

command[check_jmx]="/usr/local/nagios/libexec/check_jmx -U
service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
-A HeapMemoryUsage -K used -I HeapMemoryUsage -J used - -w 8 -c
15"

that is, with inverted commas. If it doesn't work, try escaping the
uris like this:

service:jmx:rmi:\/\/\/jndi/rmi:/\/\localhost:8999\/jmxrmi

You may also try the developers list, maybe they can help you further.
Hope this helps

--

natxo

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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_jmx plugin problem

2010-04-13 Thread Paul WILLIS PSE 55499
I've had similar problems with nrpe where the command string doesn't get
passed intact but instead some non letter characters get "processed" somewhere
within nrpe, so running it directly and through nrpe give different results.
Try putting a \ in front of every unusual character
 
Paul Willis 

>>> Natxo Asenjo  13/04/10 08:12 >>>
On Tue, Apr 13, 2010 at 8:39 AM, Emmanuel Chanteloup
 wrote:
> The thing I do not understand is why I can run it directly with my nagios
> account :
>
> [nag...@myserver ~]$ /usr/local/nagios/libexec/check_jmx -U
> service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
> -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used - -w 8 -c
> 15
> JMX OK
> HeapMemoryUsage.used=593227424{committed=1036189696;init=1073741824;max=1036189696;used=593227424}
>
> and it doesn't work with NRPE, knowing that NRPE is using the nagios account
> !
>
> [nag...@myserver ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c
> check_jmx
> NRPE: Unable to read output

could you please post your nrpe.cfg (sanitize as needed) to make sure
there is not a typo in it? (I've had that many times myself, very
frustrating).

Another option worth exploring is
http://search.cpan.org/~roland/jmx4perl-0.65/scripts/check_jmx4perl.

Another thing: I am not sure how nrpe escapes the slashes (if at all)
in the uri in that check. Try adding more on slash in front of every
other slash. Just a wild shot, I know.

-- 
natxo

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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_HTTP odd behaviour

2010-02-18 Thread Paul WILLIS PSE 55499
Marc
It wasn't the command definition file. That was the same as the command I was 
using for running directly, ie
# 'check_eRhttp' command definition
define command{
command_namecheck_eRhttp
command_line$USER1$/check_http -p 8000 -H some.host.co.uk -u 
"/sap/bc/webdynpro/sap/hrrcf_a_unreg_job_search?sap-wd-configId=ZUNREG_JOB_SEARCH&sap-ep-themeroot=/sap/public/bc/ur/customerthemes/sap_kp"
 -A "Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.9) Gecko/20061206 
Firefox/1.5.0.9" -R fs_QE2_00I did away with passing parameters from the 
service as I originally thought that was the problem.
I have since had a quick play and can confirm it is indeed the semi colons. 
Leave them in and it goes critical / null status without calling the plugin. 
Escape them and it behaves 
 
Paul Willis
 

-- 
This email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient, be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this email in error, please notify us immediately by 
contacting the sender or telephoning 01622 690690.
The copyright in the contents of this email and any enclosure is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1998.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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_HTTP odd behaviour

2010-02-18 Thread Paul WILLIS PSE 55499
Well I tried writing a wrapper script to see what check_http was actually 
receiving. The answer would appear to be absolutely nothing, in
fact check_http is never even getting called. Something in the parameters would 
appear to be causing nagios to throw an exception when
trying to make the call that is caught and  treated as a critical error with a 
null reply.
When I went through the -A parameter and escaped every non-standard character 
everything burst into life, the wrapper reported the correct
string and check_http reported the site as up. 
Clearly that whereas bash only needs $ and ` escaping within inverted commas 
nagios must have a larger list, including I would guess either the ; or the :
Thanks for the help
Paul Willis

-- 
This email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient, be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this email in error, please notify us immediately by 
contacting the sender or telephoning 01622 690690.
The copyright in the contents of this email and any enclosure is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1998.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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_HTTP odd behaviour

2010-02-17 Thread Paul WILLIS PSE 55499
Ah, forgot to add
Nagios 3.2
Check_http v2053 (nagios-plugins 1.4.13)
Running under Suse Linux 10.2
 
Paul

-- 
This email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient, be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this email in error, please notify us immediately by 
contacting the sender or telephoning 01622 690690.
The copyright in the contents of this email and any enclosure is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1998.
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-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] CHECK_HTTP odd behaviour

2010-02-17 Thread Paul WILLIS PSE 55499
I'm trying to run a check on a website we have that a) has a stupidly long 
generated path and b) insists it is available only to certain browers.
If I run /usr/local/nagios/check_http -p 8000 -H some.host.co.uk -u 
"/sap/bc/webdynpro/sap/hrrcf_a_unreg_job_search?sap-wd-configId=ZUNREG_JOB_SEARCH&sap-ep-themeroot=/sap/public/bc/ur/customerthemes/sap_kp"
 -A "Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.9) Gecko/20061206 
Firefox/1.5.0.9" -R fs_QE2_00
it comes back fine and tells me that it can read the string fs_QE2_00 on the 
page OK. If I put exactly the same command into my command definition file the 
accompanying service simply goes red with a status definition of null. If I 
then drop the -A string it will now work, although it now gives the expected 
500 error of browser not supported. I have tried simplifying the -A string but 
the web site requires pretty much all of it else it 500 errors. Has anyone any 
idea why the Agent string works when check_http  is run directly but not 
through Nagios?
 
Thanks
 
Paul
 

-- 
This email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient, be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this email in error, please notify us immediately by 
contacting the sender or telephoning 01622 690690.
The copyright in the contents of this email and any enclosure is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1998.
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-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