Re: [Nagios-users] check_openmanage 3.5.5-beta6 snmp_detect_blade bug

2010-01-20 Thread Trond Hasle Amundsen
McKinlay, Ken ken.mckin...@curtisswright.com writes:

 Trond,

 Other little bug for your next release. Using check_openmanage
 3.5.5-beta6 on a server loaded with OMSA 5.1.0 (a different box this
 time), in the snmp_detect_blade function it returned: INTERNAL ERROR:
 Use of uninitialized value in string eq at
 ./check_openmanage-3.5.5-beta6 line 599.

 Looking at the line and then doing my own SNMP query, that OID is
 missing in OMSA 5.1.0. However, by changing line 599 to first make sure
 a result has been set then the uninitialized value error is bypassed in
 the if statement:

 if ( $result-{$DellBaseBoardType}  $result-{$DellBaseBoardType} eq
 '3') {

Thank you, the patch is applied. Note that check_openmanage is not
designed to work with really old OMSA versions (5.2 and earlier). This
is more of a problem when checking locally, since omreport commands are
different. I generally won't add support for old OMSA if it has a
noticeable speed or complexity impact, but that is not the case here.
Besides, checking that the value exists is good practice anyway :)

An updated version is available here:

  http://folk.uio.no/trondham/tmp/check_openmanage-3.5.5-beta7

If you confirm that this beta works for you, and I don't get any more
bug reports in the next few days, this will eventually become 3.5.5.

Cheers,
-- 
Trond H. Amundsen t.h.amund...@usit.uio.no
Center for Information Technology Services, University of Oslo

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Re : check_cluster and service hardstate

2010-01-20 Thread Gael Cheron
It's a special business logic : distributed nagios, nagios business process,
no notification and watching nagvis 24/7.

Thank you for your suggestion about SERVICESTATETYPE, I was also thinking
about it.

thanks for your answer Marc.
regards,
Gael.


2010/1/19 Marc Powell m...@ena.com


 On Jan 19, 2010, at 12:42 PM, Gael Cheron wrote:

  Hi all,
 
  In the doc dealing with the service cluster with the check_cluster
 plugin, the example uses $SERVICESTATEID:host:Service$
 
  But I'd like to use the hardstate. As far as I know, there is no variable
 giving the service hardstate. I had a look at the list
 http://nagios.sourceforge.net/docs/2_0/macros.html
 
  Do somebody know if there is a way to do this ?

 Having such a macro wouldn't make much sense, IMHO. It seems you might not
 understand the difference between HARD and SOFT states or I don't understand
 the problem you're trying to solve? What would it's value be while the
 service was in a SOFT state, presumably when you'd be interested in using
 it? OK? WARNING? CRITICAL? $LASTSERVICESTATEID$ might be close to what
 you're thinking about but I believe that it updates after every check,
 regardless of HARD/SOFT status.

 I think you're wanting check_cluster to do something only if the things
 it's watching are in a HARD state. My suggestion would be to pass
 $SERVICESTATETYPE:host:Service$ for each cluster element to check_cluster
 and teach check_cluster to read that and to do what you need based on your
 business logic.

 Hope that helps...

 --
 Marc



 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for
 Conference
 attendees to learn about information security's most important issues
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-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


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] display_name directive

2010-01-20 Thread Athiqur Rahman
Hi,

according to the docs, if display_name directive is used when creating a 
service, then it will override the service_description directive when 
displaying on the web interface. This does not seem to be the case, i 
always get the service_descrition being displayed. Below is the service 
i created

define service{
use generic-service
host_name   router
service_description TCP hit on 179
display_nameBGP
check_command   BGP
}

Seems pretty straight forward, don't know why it isn't working!




--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] display_name directive

2010-01-20 Thread Morris, Patrick
Athiqur Rahman wrote:
 Hi,

 according to the docs, if display_name directive is used when creating a 
 service, then it will override the service_description directive when 
 displaying on the web interface. This does not seem to be the case, i 
 always get the service_descrition being displayed. Below is the service 
 i created

 define service{
 use generic-service
 host_name   router
 service_description TCP hit on 179
 display_nameBGP
 check_command   BGP
 }

 Seems pretty straight forward, don't know why it isn't working!

You didn't read into the docs far enough.  The next sentence after the 
one you paraphrased is:

Note: The current CGIs do not use this option, although future versions 
of the web interface will.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] display_name directive

2010-01-20 Thread Marc Powell

On Jan 20, 2010, at 10:04 AM, Athiqur Rahman wrote:

 Hi,
 
 according to the docs, if display_name directive is used when creating a 
 service, then it will override the service_description directive when 
 displaying on the web interface.

Please reference this in the docs.

 Seems pretty straight forward, don't know why it isn't working!

It's not supposed to from the documentation I'm reading...

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service

display_name: This directive is used to define an alternate name that should be 
displayed in the web interface for this service. If not specified, this 
defaults to the value you specify for the service_description directive. 
***Note: The current CGIs do not use this option, although future versions of 
the web interface will.***

emphasis mine.

A grep of the source for 3.2.0 confirms that none of the cgi's reference that 
variable.

--
Marc



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_openmanage 3.5.5-beta6 snmp_detect_blade bug

2010-01-20 Thread McKinlay, Ken
Works fine. Thanks once again.

Ken

 -Original Message-
 From: Trond Hasle Amundsen [mailto:t.h.amund...@usit.uio.no]
 Sent: Wednesday, January 20, 2010 4:36 AM
 To: McKinlay, Ken
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] check_openmanage 3.5.5-beta6
 snmp_detect_blade bug
 
 McKinlay, Ken ken.mckin...@curtisswright.com writes:
 
  Trond,
 
  Other little bug for your next release. Using check_openmanage
  3.5.5-beta6 on a server loaded with OMSA 5.1.0 (a different box this
  time), in the snmp_detect_blade function it returned: INTERNAL
 ERROR:
  Use of uninitialized value in string eq at
  ./check_openmanage-3.5.5-beta6 line 599.
 
  Looking at the line and then doing my own SNMP query, that OID is
  missing in OMSA 5.1.0. However, by changing line 599 to first make
 sure
  a result has been set then the uninitialized value error is bypassed
 in
  the if statement:
 
  if ( $result-{$DellBaseBoardType}  $result-{$DellBaseBoardType}
 eq
  '3') {
 
 Thank you, the patch is applied. Note that check_openmanage is not
 designed to work with really old OMSA versions (5.2 and earlier). This
 is more of a problem when checking locally, since omreport commands
are
 different. I generally won't add support for old OMSA if it has a
 noticeable speed or complexity impact, but that is not the case here.
 Besides, checking that the value exists is good practice anyway :)
 
 An updated version is available here:
 
   http://folk.uio.no/trondham/tmp/check_openmanage-3.5.5-beta7
 
 If you confirm that this beta works for you, and I don't get any more
 bug reports in the next few days, this will eventually become 3.5.5.
 
 Cheers,
 --
 Trond H. Amundsen t.h.amund...@usit.uio.no
 Center for Information Technology Services, University of Oslo

___
This e-mail and any files transmitted with it are proprietary and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have reason to believe that you have received this e-mail in error, please 
notify the sender and destroy this email and any attached files. Please note 
that any views or opinions presented in this e-mail are solely those of the 
author and do not necessarily represent those of the Curtiss-Wright Corporation 
or any of its subsidiaries.  Documents attached hereto may contain technology 
subject to government export regulations. Recipient is solely responsible for 
ensuring that any re-export, transfer or disclosure of this information is in 
accordance with applicable government export regulations.  The recipient should 
check this e-mail and any attachments for the presence of viruses. 
Curtiss-Wright Corporation and its subsidiaries accept no liability for any 
damage caused by any virus transmitted by this e-mail.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] display_name directive

2010-01-20 Thread Athiqur Rahman
Marc Powell wrote:
 On Jan 20, 2010, at 10:04 AM, Athiqur Rahman wrote:

   
 Hi,

 according to the docs, if display_name directive is used when creating a 
 service, then it will override the service_description directive when 
 displaying on the web interface.
 

 Please reference this in the docs.

   
 Seems pretty straight forward, don't know why it isn't working!
 

 It's not supposed to from the documentation I'm reading...

 http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service

 display_name: This directive is used to define an alternate name that should 
 be displayed in the web interface for this service. If not specified, this 
 defaults to the value you specify for the service_description directive. 
 ***Note: The current CGIs do not use this option, although future versions of 
 the web interface will.***

 emphasis mine.

 A grep of the source for 3.2.0 confirms that none of the cgi's reference that 
 variable.

 --
 Marc



 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-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
   

Seems like I jumped the gun there. Sorry

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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 NRPE working with two servers, and not a third?

2010-01-20 Thread Mr Gabriel
On my nagios server I get

C:\ Drive Space;UNKNOWN;HARD;3;CHECK_NRPE: Received 0 bytes from daemon. 
Check the remote server logs for error messages.

On my windows box I get the error messages

NRPE_NT:  Client request was invalid, bailing out...

Which would suggest based on my research that the problem is 
misconfiguration, yet the same setup works with other servers already, 
so i know the server is capable of communicating with a windows setup.

What could cause this to be the case?

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Where to change the email address for notifications

2010-01-20 Thread ReynierPM
Hi every:
I need to change the email address that Nagios uses to send emails 
notifications, wich file(s) I need to look for?
-- 
Cheers
Ing. Reynier PĂ©rez Mira

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Where to change the email address for notifications

2010-01-20 Thread Morris, Patrick
ReynierPM wrote:
 Hi every:
 I need to change the email address that Nagios uses to send emails 
 notifications, wich file(s) I need to look for?
   

That depends what you're using to send mail. It may be in your 
notification command, but more likely it's dictated your mail 
configuration (which will, of course, depend which MTA you use).

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Check NRPE working with two servers, and not a third?

2010-01-20 Thread Morris, Patrick
Mr Gabriel wrote:
 On my nagios server I get

 C:\ Drive Space;UNKNOWN;HARD;3;CHECK_NRPE: Received 0 bytes from daemon. 
 Check the remote server logs for error messages.

 On my windows box I get the error messages

 NRPE_NT:  Client request was invalid, bailing out...

 Which would suggest based on my research that the problem is 
 misconfiguration, yet the same setup works with other servers already, 
 so i know the server is capable of communicating with a windows setup.

 What could cause this to be the case?


You're probably right: it's most likely a configuration issue.

Beyond that, the total lack of any configuration information in your 
question makes it unlikely someone could tell you what that 
misconfiguration might be.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Check NRPE working with two servers, and not a third?

2010-01-20 Thread Litwin, Matthew
That is the log entry in nsclient.log file? Try diffing the config file with 
that from a working config file. You might have a typo in there.

Did you try running the check_nrpe plugin on the nagios server against that 
server to see if it responds with a valid response to see if this is a problem 
with NRPE on your client or something just with just the check disk command on 
nagios or the check disk DLL or config on the client.

On Jan 20, 2010, at 8:10 PM, Morris, Patrick wrote:

 Mr Gabriel wrote:
 On my nagios server I get
 
 C:\ Drive Space;UNKNOWN;HARD;3;CHECK_NRPE: Received 0 bytes from daemon. 
 Check the remote server logs for error messages.
 
 On my windows box I get the error messages
 
 NRPE_NT:  Client request was invalid, bailing out...
 
 Which would suggest based on my research that the problem is 
 misconfiguration, yet the same setup works with other servers already, 
 so i know the server is capable of communicating with a windows setup.
 
 What could cause this to be the case?
 
 
 You're probably right: it's most likely a configuration issue.
 
 Beyond that, the total lack of any configuration information in your 
 question makes it unlikely someone could tell you what that 
 misconfiguration might be.
 
 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-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

Thanks,
Matthew Litwin
mlit...@stubhub.com
415.222.8475


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Where to change the email address for notifications

2010-01-20 Thread Litwin, Matthew
Under nagios.cfg you can change the nagios admin email, but really you should 
be using contacts.cfg for configuring notifications. If you just want one 
notification email for every monitor, which is what it sounds like what you 
want, you can define the contact_email in templates.cfg and it will be used in 
whatever uses the respective template.

On Jan 20, 2010, at 8:07 PM, Morris, Patrick wrote:

 ReynierPM wrote:
 Hi every:
 I need to change the email address that Nagios uses to send emails 
 notifications, wich file(s) I need to look for?
 
 
 That depends what you're using to send mail. It may be in your 
 notification command, but more likely it's dictated your mail 
 configuration (which will, of course, depend which MTA you use).
 
 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-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

Thanks,
Matthew Litwin
mlit...@stubhub.com
415.222.8475


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Multiple NRPE Processes

2010-01-20 Thread Litwin, Matthew
In solaris it is critical that you run nrpe on solaris in daemon mode. You need 
to launch it with like so: /usr/local/nagios/bin/nrpe -c 
/usr/local/nagios/etc/nrpe.cfg -d

Running it like this you should be able to kill it without a problem as it will 
maintain the pid. Make sure in nrpe.cfg that the nrpe user can write its pid 
where specified. If you look in syslog you should see details about how it 
starts.

On Jan 19, 2010, at 8:41 AM, Marc Powell wrote:

 
 On Jan 19, 2010, at 9:22 AM, Juki wrote:
 
 How long are they sticking around? What OS are you using?
 
 I'm running Solaris 10. They are more less sticking around indefinitely.
 
 60 seconds seems to be the default/recommended setting on Solaris but can be 
 as high as 10 minutes if the OS thinks it needs to be 
 (http://docs.sun.com/app/docs/doc/817-0404/chapter4-51?a=view). I wouldn't 
 recommend tuning this unless you know exactly what you are doing and why; 
 strangeness may result. Perhaps you've tuned it already and this is the 
 resulting strangeness...
 
 You're going to have better luck understanding this by asking about it on a 
 Solaris support list as what you're asking about is a general TCP stack 
 question, not specific to Nagios.
 
 --
 Marc
 
 
 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for Conference
 attendees to learn about information security's most important issues through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-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

Thanks,
Matthew Litwin
mlit...@stubhub.com
415.222.8475


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] removing and installing nagios

2010-01-20 Thread liyas m
DEar all,

 I have installed nagios 3.2 on my server for student project and
 everything worked fine until i run apt-get nagios-text. After that the
version appeared on the server is Nagios 1.3 not 3.2 which is very
 strange. I tried to reinstalled but still the old version appear
 although the engine shown by nagios -c is 3.2

 Nagios Core 3.2.0
 Copyright (c) 2009 Nagios Core Development Team and Community Contributors
 Copyright (c) 1999-2009 Ethan Galstad
 Last Modified: 08-12-2009
 License: GPL

 How do I remove the old version ? Thank you for your help.

 Regards,
Liyas
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Check NRPE working with two servers, and not a third?

2010-01-20 Thread Mr Gabriel
On 21/01/2010 06:04, Litwin, Matthew wrote:
 That is the log entry in nsclient.log file? Try diffing the config file with 
 that from a working config file. You might have a typo in there.

 Did you try running the check_nrpe plugin on the nagios server against that 
 server to see if it responds with a valid response to see if this is a 
 problem with NRPE on your client or something just with just the check disk 
 command on nagios or the check disk DLL or config on the client.

 On Jan 20, 2010, at 8:10 PM, Morris, Patrick wrote:


 Mr Gabriel wrote:
  
 On my nagios server I get

 C:\ Drive Space;UNKNOWN;HARD;3;CHECK_NRPE: Received 0 bytes from daemon.
 Check the remote server logs for error messages.

 On my windows box I get the error messages

 NRPE_NT:  Client request was invalid, bailing out...

 Which would suggest based on my research that the problem is
 misconfiguration, yet the same setup works with other servers already,
 so i know the server is capable of communicating with a windows setup.

 What could cause this to be the case?


 You're probably right: it's most likely a configuration issue.

 Beyond that, the total lack of any configuration information in your
 question makes it unlikely someone could tell you what that
 misconfiguration might be.


  

I didn't consider running a diff on the config files. I'll do that as 
soon as I get into the office. Also, when I check the plugin from my 
nagios server, check_nrpe -H new.server.com works.

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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