Re: [Nagios-users] Monitoring hardware RAID

2006-07-18 Thread Yogesh Hasabnis
Thanks for all the suggestions friends. I will try to evaluate all of them and will post a feedback on the list.

Regards

YogeshOn 7/18/06, Gerhard Lausser <[EMAIL PROTECTED]> wrote:





Hi,
 
you may look at this:

http://www.strocamp.net/opensource/
They have a standalone program "arrayprobe" which acts 
as a nagios plugin.
 
Greetings from Munich,
Gerhard

  
  
  Von: 
  [EMAIL PROTECTED]
 
  [mailto:[EMAIL PROTECTED]
] Im Auftrag von 
  Yogesh HasabnisGesendet: Dienstag, 18. Juli 2006 
  14:53An: nagios-users@lists.sourceforge.net
Betreff: 
  [Nagios-users] Monitoring hardware RAID
  
  Hi All,
   
  I want to know if there is any way to monitor a hardware RAID 
  configuration using nagios (or any other utility). We have  an HP 
  Proliant DL-380 server with two 146 GB hard disks in it. We assume that these 
  two hard disks have been configured for RAID-1 (mirrored using hardware RAID). 
  But we want to make sure, whether they are actually mirrored without turning 
  off and restarting the server (the server was not configured by us). The 
  server has Red Hat Enterprise Linux ES release 3 installed on it. I would be 
  grateful if somebody provides any pointers regarding this. 
   
  Thanks
   
  Yogesh


-
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] issues with nrpe 2.5.1 starting corr ectly with AIX5.3 using inetd.conf

2006-07-18 Thread Mark Worrad
Alexander Harvey  gmail.com> writes:

> 
> 
> Mark,May I ask, when you run your NRPE in daemon mode as you've shown us 
here, what happens when you just run:# ./check_nrpe -H x.x.x.xon the host, i.e. 
with no other arguments than the hostname? Could you check to see if you get an 
error message sent do 
> daemon.error in your syslog:Jul 14 16:36:52 cairns daemon:err|error nrpe
[532718]: Error: Request packet had invalid CRC32.Jul 14 16:36:52 cairns 
daemon:err|error nrpe[532718]: Client request was invalid, bailing out...
> If NRPE was working, it should respond with:NRPE V(version number)Thanks,Alex
> 
> On 7/19/06, Mark Worrad <
> mark  abtgroup.com.au> wrote:My version of NRPENRPE - Nagios Remote 
Plugin Executor
> Copyright (c) 1999-2006 Ethan Galstad (nagios  nagios.org)Version: 
2.5.1Last Modified: 04-09-2006License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 
> 0.9.6 or higher 
required* 
POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE!    Read the 
NRPE SECURITY file for more information **
> ***My entry in 
inetd.conf with no sslnrpestream  tcp 
nowait  nagios  /usr/local/nagios/nrpe -n -c /usr/local/nagios/nrpe.cfg --inetd
> bash-2.05b# ./check_nrpe -H x.x.x.x -n -c check_disk_liveCHECK_NRPE: Response 
packet had invalid CRC32.I tried again with sslnrpestream  tcp 
nowait  nagios  /usr/local/nagios/nrpe -c /usr/local/nag
> ios/nrpe.cfg --inetdbash-2.05b# ./check_nrpe -H 203.98.93.34 -c 
check_disk_liveCHECK_NRPE: Error - Could not complete SSL handshake.The only 
way i get this to work is to start it in Daemon mode
> bash-2.05b# /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -dbash-
2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_liveDISK OK - free 
space: /live 47832 MB (19%);| /live=208680MB;230860;243686;0;2565
> 12I can have the daemon running with or without ssl and check_nrpe with 
orwithout ssl works finedoes any one have any ideas on why it will not work 
when run from inetd.conf.Do i have to have tcpwrappers installed for this to 
work, if so has anyone got
> tcpwrappers working on aix5.3-
Take Surveys. Earn Cash. Influence the Future of ITJoin 
SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn 
cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___Nagios-users mailing 
listNagios-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
> 
> 
> 
> 
> 
> 
> -
> 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


> Mark 

I ran ./check_nrpe -H x.x.x.x
CHECK_NRPE: Socket timeout after 10 seconds.

I then ran ./check_nrpe -H x.x.x.x -n

NRPE v2.5.1

Do you know if I need tcpwrappers installed if i want to run it under inetd.conf



-
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] issues with nrpe 2.5.1 starting correctly with AIX5.3 using inetd.conf

2006-07-18 Thread Alexander Harvey
Mark,May I ask, when you run your NRPE in daemon mode as you've shown us here, what happens when you just run:# ./check_nrpe -H x.x.x.xon the host, i.e. with no other arguments than the hostname? Could you check to see if you get an error message sent do 
daemon.error in your syslog:Jul 14 16:36:52 cairns daemon:err|error nrpe[532718]: Error: Request packet had invalid CRC32.Jul 14 16:36:52 cairns daemon:err|error nrpe[532718]: Client request was invalid, bailing out...
If NRPE was working, it should respond with:NRPE V(version number)Thanks,AlexOn 7/19/06, Mark Worrad <
[EMAIL PROTECTED]> wrote:My version of NRPENRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2006 Ethan Galstad ([EMAIL PROTECTED])Version: 2.5.1Last Modified: 04-09-2006License: GPL v2 with exemptions (-l for more info)SSL/TLS Available: Anonymous DH Mode, OpenSSL 
0.9.6 or higher required* POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE!    Read the NRPE SECURITY file for more information **
***My entry in inetd.conf with no sslnrpestream  tcp nowait  nagios  /usr/local/nagios/nrpe -n -c /usr/local/nagios/nrpe.cfg --inetd
bash-2.05b# ./check_nrpe -H x.x.x.x -n -c check_disk_liveCHECK_NRPE: Response packet had invalid CRC32.I tried again with sslnrpestream  tcp nowait  nagios  /usr/local/nagios/nrpe -c /usr/local/nag
ios/nrpe.cfg --inetdbash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_liveCHECK_NRPE: Error - Could not complete SSL handshake.The only way i get this to work is to start it in Daemon mode
bash-2.05b# /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -dbash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_liveDISK OK - free space: /live 47832 MB (19%);| /live=208680MB;230860;243686;0;2565
12I can have the daemon running with or without ssl and check_nrpe with orwithout ssl works finedoes any one have any ideas on why it will not work when run from inetd.conf.Do i have to have tcpwrappers installed for this to work, if so has anyone got
tcpwrappers working on aix5.3-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___Nagios-users mailing listNagios-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

-
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] Nagios plugin error

2006-07-18 Thread Skylar Thompson
Ganesh Vembu wrote:
>  
> Hi
> nope no reason for not using the RPM's
> just following some instructions on the website
> so what would be the difference in using RPM's ???

Installing from RPM would let you see what libraries Nagios depends on, 
so you can go out and fetch them.

- Skylar

-
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] check_disk 1.4.3 (1.64) for AI X not working?

2006-07-18 Thread Mark Worrad
Alexander Harvey  gmail.com> writes:

> 
> 
> This is the wrong thread I think but I'd be interested to know how you got 
NRPE to work at all in AIX5.3--even in daemon mode. That is, which version did 
you compile? 2.5.2 or an earlier one? Did you use any special compiler options 
etc? To me it looks like it's broken altogether in AIX. One of our developers 
is trying to fix it. We'll post the code if we make any progress.
> Alex
> 
> On 7/18/06, Mark Worrad  abtgroup.com.au> wrote:
> Alexander Harvey  gmail.com> writes:>>> I'm reluctant to 
use -w ... -c ... -p / -p /usr ... BTW as I'm often havingto add or remove 
filesystems from these boxes unfortunately. That would mean
> each time I add a filesystem I'd also have to change the Nagios check. 
Thatwouldn't really be ideal.> Alex>> On 7/17/06, Alexander 
Harvey>   
> gmail.com> wrote:>> On 7/17/06, Ton Voon <>> ton.voon  altinity.com> 
wrote: Looks okay. There's a problem with inodes being -700% on /usr, 
but otherwise
> it looks valid.>> I think the /proc is causing your failure (correctly since 
there is no freespace). Run ./check_disk -w 20% -c 1% -p / -p /usr and that 
should come backokay.I am running 
> AIX5.3 also and am experiencing similar problems. The only way sofaar i can 
get this to work is to not use inetd.conf but start it in daemon 
modeeg/usr/local/bin/nagios/nrpe -n -c /usr/local/nagios/nrpe.cfg -d
> I can then get correct results from the nagios server from the command line 
buti then have issues with ussing a browser to monitor the status. I have 
justposted this problem.>>>
> > Ton> Yes, I guess it's a feature, not a bug, and definitely /proc is 
causing theproblem but then /proc will always show "no space" in AIX because 
it's not a
> real filesystem. To really work in AIX the 'check_disk' should 
ignore /proc.It's no big deal, my shell script is fine for my purposes.> Thanks 
for all your efforts for free software, BTW.Kind Regards,Alex>


> On 7/19/06, Mark Worrad  abtgroup.com.au> wrote:

My version on nrpe

NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2006 Ethan Galstad ([EMAIL PROTECTED])
Version: 2.5.1
Last Modified: 04-09-2006
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required

***
** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE!  **
**  Read the NRPE SECURITY file for more information **
***

I had lots of problems compiling until i upgraded ssl. my version is

 freeware.openssl.rte   0.9.7.1C FOpenssl 0.9.7g

My gcc version is

  gcc3.3.2-5C RGNU Compiler Collection
   (/bin/rpm)

When compiling i just compiled with the standard ./configure
Hope this helps

<

> >>> --
---> 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
-Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
youropinions 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.nethttps://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
> 
> 
> 
> 
> 
> -
> 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 iss

[Nagios-users] issues with nrpe 2.5.1 starting correctly with AIX5.3 using inetd.conf

2006-07-18 Thread Mark Worrad
My version of NRPE

NRPE - Nagios Remote Plugin Executor
Copyright (c) 1999-2006 Ethan Galstad ([EMAIL PROTECTED])
Version: 2.5.1
Last Modified: 04-09-2006
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required

***
** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE!  **
**  Read the NRPE SECURITY file for more information **
***

My entry in inetd.conf with no ssl

nrpestream  tcp nowait  nagios  /usr/local/nagios/nrpe -n -c /usr/local/
nagios/nrpe.cfg --inetd

bash-2.05b# ./check_nrpe -H x.x.x.x -n -c check_disk_live
CHECK_NRPE: Response packet had invalid CRC32.

I tried again with ssl

nrpestream  tcp nowait  nagios  /usr/local/nagios/nrpe -c /usr/local/nag
ios/nrpe.cfg --inetd

bash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_live
CHECK_NRPE: Error - Could not complete SSL handshake.

The only way i get this to work is to start it in Daemon mode

bash-2.05b# /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d

bash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_live
DISK OK - free space: /live 47832 MB (19%);| /live=208680MB;230860;243686;0;2565
12

I can have the daemon running with or without ssl and check_nrpe with or 
without ssl works fine

does any one have any ideas on why it will not work when run from inetd.conf. 
Do i have to have tcpwrappers installed for this to work, if so has anyone got 
tcpwrappers working on aix5.3



-
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] not worth the upgrade after all

2006-07-18 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Miles O'Neal
> Sent: Tuesday, July 18, 2006 4:06 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] not worth the upgrade after all
> 
> Having to switch the contact groups into the
> hosts file is, IMO, braindead.  It may be
> nice and consistent, but where is the win
> for the existing user?  It makes the files
> more complex, not less.  Having it as an
> optoin there instead of hostgroups is one
> thing, but at this point it looks to me like
> a purely academic exercise, and one that
> will waste a bunch of my time.
> 
> If someone wants to explain *why* this is
> a good thing *for the user*, I'm all ears.

It allows you to have different contacts per host, regardless of the
hostgroups they are in. The converse is that you don't have to put a
host in multiple hostgroups _just_ to have multiple independent
contacts. This change allows for much greater flexibility for
host-specific contacts.

I personally consider consistency a win myself. I also never
particularly liked that couldn't enable notifications, or even a
different contact, for just one host in a hostgroup without jumping
through hoops or creating a dedicated hostgroup.

In the end, you don't *have* to upgrade if the change is so burdensome.
That's one of the benefits of OSS.

--
Marc

-
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


[Nagios-users] not worth the upgrade after all

2006-07-18 Thread Miles O'Neal
Having to switch the contact groups into the
hosts file is, IMO, braindead.  It may be
nice and consistent, but where is the win
for the existing user?  It makes the files
more complex, not less.  Having it as an
optoin there instead of hostgroups is one
thing, but at this point it looks to me like
a purely academic exercise, and one that
will waste a bunch of my time.

If someone wants to explain *why* this is
a good thing *for the user*, I'm all ears.

-
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


[Nagios-users] Comments in StatusMap

2006-07-18 Thread Pete Shelfo








Is there a way to add a weblink or comments in the Statusmap
view that are not based on a host?  Also is there any way to link a static
image such as a WWW icon without having a host tied to it?

 

 





This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information.  Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited.  If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer.






-
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] Nagios plugin error

2006-07-18 Thread Ganesh Vembu
Title: Re: [Nagios-users] Nagios plugin error






 
Hi
nope no reason for not using the RPM's 
just following some instructions on the website
so what would be the difference in using RPM's ???
thanks for your response
ganesh



From: Patrick Morris 
[mailto:[EMAIL PROTECTED]Sent: Tue 7/18/2006 11:17 
AMTo: Ganesh VembuCc: 
nagios-users@lists.sourceforge.netSubject: Re: [Nagios-users] Nagios 
plugin error

Hi Ganesh!On Tue, 18 Jul 2006, Ganesh Vembu 
wrote:> Hey there> I am new here and gave Nagios a 
shot> I am having some errors compiling my nagios plugins> this is 
just part of the error list> can you tell me where i am going 
wrong?You're missing at least a few development libraries (from the 
errors youposted, you're missing at least zlib and probably 
others).Sounds like you may be in a bit over your head here -- any 
reason fornot just using RPMs?


-
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

[Nagios-users] Minuteman UPS Support?

2006-07-18 Thread B. Cook
I have recently come into some MinuteMan S2000 devices, one of them has 
the snmp 32L module and the 32th temp/humidity probe.

Does any of this work with nagios?  Aside from the obvious.. (it's not 
apc) not many other projects can even talk to this device.. :(

Should I give them back? :)

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

-
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] Nagios - Nsca - OCSP command Timedout

2006-07-18 Thread Sumit malhotra


--- Marc Powell <[EMAIL PROTECTED]> wrote:
Hello Marc,

> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of Sumit
> malhotra
> > Sent: Tuesday, July 18, 2006 12:26 PM
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] Nagios - Nsca - OCSP
> command Timedout
> > 
> > Hello,
> > 
> > I  am using Nagios in a distributed environment
> where
> > many systems report to a central nagios server via
> > NSCA.
> > 
> > Many a times  the nsca command(ocsp and oshp
> command)
> > times out due to low response time from remote
> nsca.
> > 
> > As the results submiteed by remote client are not
> > received, it causes an alert to be generated.
> > (I am using nsca -server in inetd mode.)
> > 
> > 
> > I have few questions:
> > 
> > 1. Is it possible to set up NSCA -server so that
> it
> > doesn't time out ? What's the deterministic
> parameter?
> > is it RAM ? CPU? or NETWORK CHOKING.
> 
> I'd check your inetd config. Are you allowing
> sufficient connections and
> rate limits for your environment?
Here is the xinetd configurations
service nsca
{
flags   = REUSE
socket_type = stream
wait= no
user= nagios
group   = nagios
server  = /usr/sbin/nsca
server_args = -c /etc/nsca.cfg --inetd
log_on_failure  += USERID
instances   = 200
disable = no
}

Also, sometimes nsca goes in adefunct state. I have no
clue why ?


 3054 ?Rs 0:01 /usr/sbin/xinetd -pidfile
/var/run/xinetd.pid -stayalive
21552 ?Zs 0:00  \_ [nsca] 
21553 ?Zs 0:00  \_ [nsca] 
21554 ?Zs 0:00  \_ [nsca] 
21555 ?Ss 0:00  \_ nsca -c /etc/nsca.cfg
--inetd
21556 ?Ss 0:00  \_ nsca -c /etc/nsca.cfg
--inetd

nsca.cfg 
-
server_port=5667
server_address=x.x.x.x
nsca_user=nagios
nsca_group=nagios
debug=0
command_file=/var/lib/nagios2/rw/nagios.cmd
aggregate_writes=0
append_to_file=0
max_packet_age=30
password=x
decryption_method=1




>  
> > In Normal scenarios I have  90% RAM as free
> > Average System Load is  1.5
> > Network of 10MB is available. with only 100 odd
> hosts
> > to report to ( It's not getting choked either)
> > 
> > 2. Is it possbile to retry sending  in 15 seconds
> if
> > the ochp/ocsp command has timed out ?
> 
> Yes, you could always modify your
> submit_check_result script to take
> that into account. Nagios doesn't have that
> capability itself. The
> proper fix however is to determine why the timeouts
> are occurring. I'm
> able to process 3648 passive checks via NSCA every 5
> minutes running
> NSCA as a standalone daemon. That's why I believe
> you may need to look
> at your (x)inetd.conf.
> 
> --
> Marc
> 
>
-
> 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
> 


-
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] nagios does not start

2006-07-18 Thread Hugo van der Kooij
On Tue, 18 Jul 2006, karthik arya wrote:

> I'm trying to install nagios-1.4.1 and nagios-plugins-1.4.3 on Fedora 3.

Any particular reason why you choose to run end-of-life versions? Fedora
Core 3 has moved to legacy quite a while ago. Nagios 1.4 is propably the
last of the 1.x branch.

I reckon that if you want longterm stability you should go for RHEL or one
of the clones (Centos, XOS, ...) and I think most of the nagios 2.x issues
are now solved as well.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.

-
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] config files and upograding

2006-07-18 Thread Miles O'Neal
Marc Powell replied to me:

|> We've been running 1.2 pretty much since it came out.
|> I'd liike to try a 2.x version, but nowhere am I
|> finding anything about config file changes.  Can I
|
|http://nagios.sourceforge.net/docs/2_0/whatsnew.html

Joerg Linge also recommended that page.  It's OK,
but it's not as clear as it might be.  They reference
extensive, mandatory rework of config files because of
macro changes, but after digging, it doesn't seem there
is that much to do.  It also looks like some of the
changes they reference actually apply to earlier
versions, at least based on what they say on that page.


|> just start with the 1.2 config files and have it work?
|
|With only minor modifications. Some macro names have changed and moving
|contact_group definitions from the hostgroup{} to the host{} definitions
|was pretty much all I needed to do here but I have a pretty simple
|config.


OK, so probably minimal changes for me, a half hour
to an hour.  Not too painful-- but I can't tell if
it's worth it. [1]


One thing that would make it worth it is an easy
way to set up a class of dependencies.  I have over
200 hosts and 1100+ services.  I'd like to set it
up so that if a system is down, I don't get notified
about every service.  If a switch is down, I don't
want to get notified about every subswitch, much less
every node on each of those switches.  Looking at the
1.2 docs, this looks like a *lot* of configuration.

Looking through the changelog, though, dependency
wildcards showed up earlier than 1.2.  Are they there
in 1.2?  Is it just not in the top level dependancy doc?
Would the 2.0 service groups help me do that more easily?
That would be a compelling reason to switch!

Thanks,
Miles


[1] I was a software developer for years.  One thing
I learned is that you never break a feature without
being able to explain to the customer why the new
version is much more beneficial than the old.  You
always assume the customer resists change.  As a
sysadmin doing the job of two sysadmins for now,
I can guarantee you I need to see a big benefit to
spend even an hour on an upgrade.

-
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] Nagios plugin error

2006-07-18 Thread Patrick Morris
Hi Ganesh!

On Tue, 18 Jul 2006, Ganesh Vembu wrote:

> Hey there
> I am new here and gave Nagios a shot
> I am having some errors compiling my nagios plugins
> this is just part of the error list
> can you tell me where i am going wrong?

You're missing at least a few development libraries (from the errors you
posted, you're missing at least zlib and probably others).

Sounds like you may be in a bit over your head here -- any reason for
not just using RPMs?

-
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] Nagios - Nsca - OCSP command Timedout

2006-07-18 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Sumit malhotra
> Sent: Tuesday, July 18, 2006 12:26 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagios - Nsca - OCSP command Timedout
> 
> Hello,
> 
> I  am using Nagios in a distributed environment where
> many systems report to a central nagios server via
> NSCA.
> 
> Many a times  the nsca command(ocsp and oshp command)
> times out due to low response time from remote nsca.
> 
> As the results submiteed by remote client are not
> received, it causes an alert to be generated.
> (I am using nsca -server in inetd mode.)
> 
> 
> I have few questions:
> 
> 1. Is it possible to set up NSCA -server so that it
> doesn't time out ? What's the deterministic parameter?
> is it RAM ? CPU? or NETWORK CHOKING.

I'd check your inetd config. Are you allowing sufficient connections and
rate limits for your environment?
 
> In Normal scenarios I have  90% RAM as free
> Average System Load is  1.5
> Network of 10MB is available. with only 100 odd hosts
> to report to ( It's not getting choked either)
> 
> 2. Is it possbile to retry sending  in 15 seconds if
> the ochp/ocsp command has timed out ?

Yes, you could always modify your submit_check_result script to take
that into account. Nagios doesn't have that capability itself. The
proper fix however is to determine why the timeouts are occurring. I'm
able to process 3648 passive checks via NSCA every 5 minutes running
NSCA as a standalone daemon. That's why I believe you may need to look
at your (x)inetd.conf.

--
Marc

-
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] config files and upograding

2006-07-18 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Miles O'Neal
> Sent: Tuesday, July 18, 2006 11:18 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] config files and upograding
> 
> We've been running 1.2 pretty much since it came out.
> I'd liike to try a 2.x version, but nowhere am I
> finding anything about config file changes.  Can I

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


> just start with the 1.2 config files and have it work?

With only minor modifications. Some macro names have changed and moving
contact_group definitions from the hostgroup{} to the host{} definitions
was pretty much all I needed to do here but I have a pretty simple
config.

> If not, can someone point me to a doc about the steps
> to upgrade?
> 
> The upgrade from whatever nagios was before to nagios
> was a major pain.  (In fact, I wish there had been an
> option for using the old format; I prefer to manage config
> files with old-fashioned *nix command line tools, and
> that works much better when each line is an entire config
> command!)

Nagios 1.x does support the old Netsaint single-line definitions
(http://nagios.sourceforge.net/docs/1_0/xoddefault.html). They were
specifically maintained for backward compatibility, you just needed to
specify that at compile time. 2.0 doesn't in favor of the more flexible
template definitions.

--
Marc

-
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


[Nagios-users] Nagios - Nsca - OCSP command Timedout

2006-07-18 Thread Sumit malhotra
Hello,

I  am using Nagios in a distributed environment where
many systems report to a central nagios server via
NSCA.

Many a times  the nsca command(ocsp and oshp command)
times out due to low response time from remote nsca.

As the results submiteed by remote client are not
received, it causes an alert to be generated. 
(I am using nsca -server in inetd mode.)


I have few questions:

1. Is it possible to set up NSCA -server so that it
doesn't time out ? What's the deterministic parameter?
is it RAM ? CPU? or NETWORK CHOKING.

In Normal scenarios I have  90% RAM as free
Average System Load is  1.5
Network of 10MB is available. with only 100 odd hosts
to report to ( It's not getting choked either)

2. Is it possbile to retry sending  in 15 seconds if
the ochp/ocsp command has timed out ?

Thanks
Sumit



-
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


[Nagios-users] Nagios plugin error

2006-07-18 Thread Ganesh Vembu
Title: Nagios plugin error






Hey there
I am new here and gave Nagios a shot
I am having some errors compiling my nagios plugins
this is just part of the error list
can you tell me where i am going wrong?
i am running on fedora core 5
and if you could point me out to any informational material on the web to make my life a little easier
about nagios install and run

/usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt':
(.text+0x2155): undefined reference to `krb5_kt_free_entry'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block':
(.text+0x96): undefined reference to `inflate'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_compress_block':
(.text+0x126): undefined reference to `deflate'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':
(.text+0x209): undefined reference to `inflateInit_'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_init':
(.text+0x274): undefined reference to `deflateInit_'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_free_ex_data':
(.text+0x37e): undefined reference to `inflateEnd'
/usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_free_ex_data':
(.text+0x389): undefined reference to `deflateEnd'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
(.text+0x1b4): undefined reference to `dlsym'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
(.text+0x29c): undefined reference to `dlerror'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
(.text+0x334): undefined reference to `dlsym'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
(.text+0x419): undefined reference to `dlerror'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
(.text+0x495): undefined reference to `dlclose'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
(.text+0x594): undefined reference to `dlopen'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
(.text+0x60a): undefined reference to `dlclose'
/usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
(.text+0x641): undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[2]: *** [check_http] Error 1
make[2]: Leaving directory `/root/Desktop/nagios-plugins-1.4.2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/nagios-plugins-1.4.2'
make: *** [all] Error 2


thanks all
ganesh






-
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] host-notify-by-epager

2006-07-18 Thread Morris, Patrick
> From: Justin Craig
> Jul 18 11:15:10 nagonet sendmail[11949]: k6IGDAil011947:
to=<[EMAIL PROTECTED]>,
ctladdr=<[EMAIL PROTECTED]> (501/501), delay=00:02:00,
xdelay=00:02:00, mailer=esmtp, pri=120546,
relay=mailmx.archwireless.net. [147.187.10.95], dsn=4.0.0,
stat=Deferred: Connection timed out with mailmx.archwireless.net.

This one's really simple, and the log message pretty much says it all.
Your mail server can't connect to mailmx.archwireless.net.

Either their mail server's down, or you have a network issue to work
out.

-
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] config files and upograding

2006-07-18 Thread Joerg Linge
Am Dienstag, 18. Juli 2006 18:18 schrieb Miles O'Neal:
> We've been running 1.2 pretty much since it came out.
> I'd liike to try a 2.x version, but nowhere am I
> finding anything about config file changes.  

Please have a look on this fine page -> 
http://nagios.sourceforge.net/docs/2_0/whatsnew.html

Jörg


pgpkeUvfQxKhl.pgp
Description: PGP signature
-
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

[Nagios-users] host-notify-by-epager

2006-07-18 Thread Justin Craig
I have host-notify-by-epager working correctly with default commands in
misccommands.cfg.    host-notify-by-epager is not
working, and looking in system logs I see notification attempts to my
pager at [EMAIL PROTECTED] is timed out with
mailmx.archwireless.net

Jul 18 11:15:10 nagonet sendmail[11949]: k6IGDAil011947:
to=<[EMAIL PROTECTED]>,
ctladdr=<[EMAIL PROTECTED]> (501/501),
delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120546,
relay=mailmx.archwireless.net. [147.187.10.95], dsn=4.0.0,
stat=Deferred: Connection timed out with mailmx.archwireless.net.

I can resolve via my nagios host:

[EMAIL PROTECTED] network]# nslookup
> set type=mx
> page.metrocall.com
Server: 192.168.200.18
Address:    192.168.200.18#53

Non-authoritative answer:
page.metrocall.com  mail exchanger = 5 mailmx.archwireless.net.

Authoritative answers can be found from:
mailmx.archwireless.net internet address = 147.187.10.95

shouldn't this notification behave the same way as email.  the
only difference being that my email address I have in contacts.cfg is
internal and this epager address is external.  I'd like to use
local host to send from or I'm also willing to tell localhost about our
outside mailserver.

Anyone have a quick and easy solution for me :)  I'm it's something simple..  I'm just missing it.--  - Justin
-
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

[Nagios-users] config files and upograding

2006-07-18 Thread Miles O'Neal
We've been running 1.2 pretty much since it came out.
I'd liike to try a 2.x version, but nowhere am I
finding anything about config file changes.  Can I
just start with the 1.2 config files and have it work?
If not, can someone point me to a doc about the steps
to upgrade?

The upgrade from whatever nagios was before to nagios
was a major pain.  (In fact, I wish there had been an
option for using the old format; I prefer to manage config
files with old-fashioned *nix command line tools, and
that works much better when each line is an entire config
command!)

Thanks,
Miles

-
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] nagios does not start

2006-07-18 Thread Ismail M. Settenda
Do the conf check on nagios.cfg (after uncommenting the host.cfg option in the nagios.cfg) cause when I did it on these other cfg files it every uncommented line seems to be an error./usr/local/nagios/bin/nagios -v 
nagios.cfgin /usr/local/nagios/etcit will point out the errors.-- Ismail On 7/18/06, karthik arya <
[EMAIL PROTECTED]> wrote:heyI'm trying to install nagios-1.4.1 and 
nagios-plugins-1.4.3 on Fedora 3.Well, to make things easy i followed the steps (to install) as on : http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html
and (part 2) :  http://www.onlamp.com/pub/a/onlamp/2002/09/26/nagios.htmlI have made changes to the configuration files as explained in part 2.
But, when i try to fire up nagios, i get the following error:  [EMAIL PROTECTED] etc]# service nagios restartRunning configuration check...Nagios 1.4.1Copyright (c) 1999-2006 Ethan Galstad (
[EMAIL PROTECTED])Last Modified: 05-15-2006License: GPLReading configuration data...Error: Invalid host object directive '#'.Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 3.
***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions.  If you are upgrading from a previous
 version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version.  Make sure to read the HTML documentation on the main and host config files, as well as the
 'Whats New' section to find out what has changed.failed - aborting restart.Any helpregards-
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions 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.nethttps://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
-
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

[Nagios-users] Return code of 9 is out of bounds???

2006-07-18 Thread Gary Danko
Hi all,
I have the check_megaraid plugin working from the command line. I can
run it as either root, www-data, or nagios and it works. The syntax is
simple, you enter a host address and a community string.

[EMAIL PROTECTED]:~$ /usr/local/nagios/plugins/check_megaraid -H
mail-incoming -C x
megaraid OK

[EMAIL PROTECTED]:~$ /usr/local/nagios/plugins/check_megaraid -H
mail-incoming -C x
megaraid OK

[EMAIL PROTECTED]:~$ /usr/local/nagios/plugins/check_megaraid -H
mail-incoming -C x
megaraid OK

But when nagios runs this command via the web console I see a CRITICAL
error "(Return code of 9 is out of bounds)"

www-data is the user that runs the nagios web page and all commands
are run as the nagios user. I opened the check_megaraid plugin in VI
and didn't see anything that was obviously exiting with code 9. Any
idea what this could mean?

OS: Debian 3.1
Nagios version 2.0
check_megaraid version 0.8.2 (http://www.ibiblio.org/john/megaraid/)

-
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] Modem Notifications

2006-07-18 Thread Samba
 I use sendpage, it also queues pages.  If it has multiple pages for the
same paging company it sends them within the same call I've noticed.

Josh

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom
Brown
Posted At: Tuesday, July 18, 2006 9:03 AM
Posted To: Samba
Conversation: [Nagios-users] Modem Notifications
Subject: Re: [Nagios-users] Modem Notifications



> Tom, thanks for the quick response. I wonder..how many notifications 
> get buffered up? There are times when will see up to 100 
> notifications, basically because of the network setup.

well we have had the odd major issue where many 10's of alerts are
buffered. Basically nagios send the message to qpage where it gets
stored in the queue and then they are sent out 1 by 1 by qpage until the
queue is clear - I have never seen an issue with failed sends.


-
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=DEVDE
V
___
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

-
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] Modem Notifications

2006-07-18 Thread Tom Brown

> Tom, thanks for the quick response. I wonder..how many notifications get
> buffered up? There are times when will see up to 100 notifications,
> basically because of the network setup.

well we have had the odd major issue where many 10's of alerts are 
buffered. Basically nagios send the message to qpage where it gets 
stored in the queue and then they are sent out 1 by 1 by qpage until the 
queue is clear - I have never seen an issue with failed sends.

-
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] Modem Notifications

2006-07-18 Thread Mike Koponick
Tom, thanks for the quick response. I wonder..how many notifications get
buffered up? There are times when will see up to 100 notifications,
basically because of the network setup.

Thanks!

Mike

-Original Message-
From: Tom Brown [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 18, 2006 6:52 AM
To: Mike Koponick
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Modem Notifications


> I would like to send out notifications via modem (to a pager) but I'm 
> concerned about multiple notifications being sent out and the modem
not 
> keeping up. Is anyone using a system such as this??

Yes - we send out using qpage and it works fine for multiple messages

-
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] Modem Notifications

2006-07-18 Thread Tom Brown

> I would like to send out notifications via modem (to a pager) but I’m 
> concerned about multiple notifications being sent out and the modem not 
> keeping up. Is anyone using a system such as this??

Yes - we send out using qpage and it works fine for multiple messages

-
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


[Nagios-users] Modem Notifications

2006-07-18 Thread Mike Koponick
Title: Modem Notifications






I would like to send out notifications via modem (to a pager) but I’m concerned about multiple notifications being sent out and the modem not keeping up. Is anyone using a system such as this??

Thanks in advance!

Mike



-
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

[Nagios-users] Host down never updates to unreachable?

2006-07-18 Thread Brian McKee
Hi again

I'm trying to figure out why I'm getting host down reports when in
fact the network is down.
Here's what I _think_ happens.

given  desktopOne has serverOne as a parent, and d,r,f in host
definition  (not u)

- Power failure
- desktopOne goes down
- host down notifications start for desktopOne
- 10 minutes later the UPS runs out on serverOne and it goes down

Now I'm getting host down notifications for both.
In fact, serverOne is down and desktopOne is unreachable.  (after all,
it could be back up!)

Does nagios not revisit existing problems when network outages occur?
Is this a feature request I should submit somewhere?
Or am I out to lunch ? :-)

Comments appreciated

Brian

-
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] Monitoring hardware RAID

2006-07-18 Thread Gerhard Lausser



Hi,
 
you may look at this:
http://www.strocamp.net/opensource/
They have a standalone program "arrayprobe" which acts 
as a nagios plugin.
 
Greetings from Munich,
Gerhard

  
  
  Von: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  Yogesh HasabnisGesendet: Dienstag, 18. Juli 2006 
  14:53An: nagios-users@lists.sourceforge.netBetreff: 
  [Nagios-users] Monitoring hardware RAID
  
  Hi All,
   
  I want to know if there is any way to monitor a hardware RAID 
  configuration using nagios (or any other utility). We have  an HP 
  Proliant DL-380 server with two 146 GB hard disks in it. We assume that these 
  two hard disks have been configured for RAID-1 (mirrored using hardware RAID). 
  But we want to make sure, whether they are actually mirrored without turning 
  off and restarting the server (the server was not configured by us). The 
  server has Red Hat Enterprise Linux ES release 3 installed on it. I would be 
  grateful if somebody provides any pointers regarding this. 
   
  Thanks
   
  Yogesh
-
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

[Nagios-users] Which book is best

2006-07-18 Thread Brian McKee
I have to put in an enthusiastic vote for the Wolfgang Barth book on Nagios.
For me as someone new to network monitoring and Nagios in paticular,
it was just what I needed to get up and running quickly.

Oh, and a thanks to the whole Nagios community - I'm not done fine
tuning yet, but I gotta say, this software package really rocks!

I'm sure I'll be dropping by with more comments and questions as I go :-)

Brian McKee

-
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] Monitoring hardware RAID

2006-07-18 Thread Matthias Eble

 >
 > The server has Red Hat Enterprise Linux ES
 > release 3 installed on it. I would be grateful if somebody provides any
 > pointers regarding this.
 >

Hi Yogesh,

you can install the hpacucli package. it provides the possibility to
query the raid controllers/fc adapters and the attached disks.

i wrote a perl plugin that checks the raid/disk status (and some other
hpasm values). I could release it on nagiosexchange if somebody is 
interested in it..

matthias

-
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] Monitoring hardware RAID

2006-07-18 Thread Thibault Genessay
Yogesh Hasabnis wrote:
> I want to know if there is any way to monitor a hardware RAID 
> configuration using nagios (or any other utility). We have  an HP 
> Proliant DL-380 server with two 146 GB hard disks in it. We assume that 
> these two hard disks have been configured for RAID-1 (mirrored using 
> hardware RAID).

The RAID adapter comes with a driver (always) and a configuration 
utility (most of the time). If your adapter has such a diagnostic/config 
software, you can write a small script that queries the status and 
awks/greps/... the output to retrieve the RAID status.

We do this for IBM ServeRaid (ipssend[.exe]) HostRaid (hrconf[.exe]) and 
LSI1030 (cfg1030[w.exe]) adapters under both Linux [and windows] and it 
works great.

Regards

-- 
Thibault GENESSAY
ALIADIS
www.aliadis.fr
Tel.  +33 4 72 13 90 40
Fax   +33 4 74 22 00 09

-
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


[Nagios-users] Monitoring hardware RAID

2006-07-18 Thread Yogesh Hasabnis
Hi All,
 
I want to know if there is any way to monitor a hardware RAID configuration using nagios (or any other utility). We have  an HP Proliant DL-380 server with two 146 GB hard disks in it. We assume that these two hard disks have been configured for RAID-1 (mirrored using hardware RAID). But we want to make sure, whether they are actually mirrored without turning off and restarting the server (the server was not configured by us). The server has Red Hat Enterprise Linux ES release 3 installed on it. I would be grateful if somebody provides any pointers regarding this.

 
Thanks
 
Yogesh
-
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] Oracle plugin check_oracle

2006-07-18 Thread Yang Xiao
On 7/18/06, Hari Sekhon <[EMAIL PROTECTED]> wrote:



  


Ton Voon wrote:

  
  On 18 Jul 2006, at 02:33, Yang Xiao wrote:
  
  

On 7/11/06, Ton Voon <[EMAIL PROTECTED]
>
wrote:

  
  
  
  
  On 11 Jul 2006, at 11:21, Hari Sekhon wrote:
  
  
It's happened again, I
changed a non-related service name and then  
restarted nagios and now
again it doesn't find $ORACLE_HOME for the sids 
of the databases
apparently. This is ridiculous since I can 


su - nagios
echo $ORACLE_HOME
/usr/lib/oracle/10.2.0.2/client
 

which gives me the path to
the oracle client installation and I can also


sqlplus
"user/[EMAIL PROTECTED] " successfully and get a login.


/usr/nagios/libexec/check_oracle
--login dbname
OK - dummy login connected



Does anybody understand
why this check has stopped working again when I 
haven't
 done anything to it, I
have to get this working in a stable fashion, I 
can't have it doing this
every time I restart nagios...
  
  
  
  
  
   How do you restart Nagios? Or do you mean reload?
  
  
  If the former, check that the startup scripts correctly
source the environment variables. If the latter, it could be a bug in
Nagios, though I'm not sure why. 
  
  
  Alternatively, check_oracle
will parse /var/opt/oracle/oratab (and other locations) for the
ORACLE_HOME variable. Some installations of Oracle use this to know
what SIDs are installed on a server. You could amend that instead. 
  
  
  
  
  Ton
  
  
  
  
  
  


Just figured out the same problem by looking at another thread on this,
the answer is permission, make sure the oracle install tree has the
world execute bit on! 
chmod 755 /app/oracle -R
btw, I'm doing this via nrpe...so it has nothing to do with
ORACLE_HOME, oracle client, ...none of that.

  
Thanks Yang. I've forwarded this to nagios-users and to Hari.
  
  
  Ton
  






  
  
  http://www.altinity.com
  T: +44 (0)870 787 9243
  F: +44 (0)845 280 1725
  Skype: tonvoon
  
   
  

My problem with this wasn't the x bit, since I could su - nagios and
run the plug-in fine, and I had the $ORACLE_HOME var set. So I figured
it must be the var problem that the script is falling down on and after
adding the $ORACLE_HOME variable to the beginning of the script, I have
had no further problems...

-h





Does it have the read bit on? my original oracle installation (app/oracle) had 751 permission, which is really weird, I just changed everything to 755 and that did it. Once again, I'm using NRPE to run the check_oracle script on the host machine, nonetheless, I don't think ORACLE_HOME and all that matters because the script is designed to read all that env variables from the oratab file, so just in case, check the oratab file and make sure it has world read bit on as well.
- Yang 
-
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] nagios does not start

2006-07-18 Thread Elias Probst
Make sure, that there are no whitespaces in front of a '#'.
Please read what Nagios tells you to do. Have a look at line 3 of hosts.cfg!!

> hey
>
> I'm trying to install nagios-1.4.1 and nagios-plugins-1.4.3 on Fedora
> 3. Well, to make things easy i followed the steps (to install) as on :
> http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html and (part 2) : 
> http://www.onlamp.com/pub/a/onlamp/2002/09/26/nagios.html I have made
> changes to the configuration files as explained in part 2. But, when i try
> to fire up nagios, i get the following error:
>
>
>   [EMAIL PROTECTED] etc]# service nagios restart
> Running configuration check...
> Nagios 1.4.1
> Copyright (c) 1999-2006 Ethan Galstad ([EMAIL PROTECTED])
> Last Modified: 05-15-2006
> License: GPL
>
> Reading configuration data...
>
> Error: Invalid host object directive '#'.
>
> Error: Could not add object property in file
> '/usr/local/nagios/etc/hosts.cfg' on line 3.
>
>
> ***> One or more problems was encountered while processing the config
> files...
>
>  Check your configuration file(s) to ensure that they contain valid
>  directives and data defintions.  If you are upgrading from a previous
>  version of Nagios, you should be aware that some variables/definitions
>  may have been removed or modified in this version.  Make sure to read
>  the HTML documentation on the main and host config files, as well as
> the 'Whats New' section to find out what has changed.
>
> failed - aborting restart.


-
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


[Nagios-users] nagios does not start

2006-07-18 Thread karthik arya
hey

I'm trying to install nagios-1.4.1 and nagios-plugins-1.4.3 on Fedora 3. 
Well, to make things easy i followed the steps (to install) as on : 
http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html
and (part 2) :  http://www.onlamp.com/pub/a/onlamp/2002/09/26/nagios.html
I have made changes to the configuration files as explained in part 2.
But, when i try to fire up nagios, i get the following error:


  [EMAIL PROTECTED] etc]# service nagios restart
Running configuration check...
Nagios 1.4.1
Copyright (c) 1999-2006 Ethan Galstad ([EMAIL PROTECTED])
Last Modified: 05-15-2006
License: GPL

Reading configuration data...

Error: Invalid host object directive '#'.

Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' 
on line 3.


***> One or more problems was encountered while processing the config files...

 Check your configuration file(s) to ensure that they contain valid
 directives and data defintions.  If you are upgrading from a previous
 version of Nagios, you should be aware that some variables/definitions
 may have been removed or modified in this version.  Make sure to read
 the HTML documentation on the main and host config files, as well as the
 'Whats New' section to find out what has changed.

failed - aborting restart.



Any help


 
regards
 
   






-
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] Which book is best?

2006-07-18 Thread Thomas Sluyter
On 18 Jul, 2006, at 13:45, Richard Luys-Nagios User wrote:

> Please let me/us know what you think!

Me personally, I like the "Pro nagios" book best Seems to give  
more of the information that I needed. Although I really only needed  
it for the ideas regarding failover and redundancy :)

Cheers!


Thomas

-
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


[Nagios-users] Which book is best?

2006-07-18 Thread Richard Luys-Nagios User
Hi all,

Just wondering: there are some books available for Nagios (2 that I know  
of), which one is regarded as 'the best book to get the most out of  
Nagios'? Has anyone been able to compare Nagios books?

The books I know of are:
Nagios by Wolfgang Barth (no Starch press)
Pro Nagios 2.0 by James Turnbull (Apress)

Please let me/us know what you think!
-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

-
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] Oracle plugin check_oracle

2006-07-18 Thread Hari Sekhon




Ton Voon wrote:

  
  On 18 Jul 2006, at 02:33, Yang Xiao wrote:
  
  

On 7/11/06, Ton Voon <[EMAIL PROTECTED]>
wrote:

  
  
  
  
  On 11 Jul 2006, at 11:21, Hari Sekhon wrote:
  
  
It's happened again, I
changed a non-related service name and then  
restarted nagios and now
again it doesn't find $ORACLE_HOME for the sids 
of the databases
apparently. This is ridiculous since I can 


su - nagios
echo $ORACLE_HOME
/usr/lib/oracle/10.2.0.2/client
 

which gives me the path to
the oracle client installation and I can also


sqlplus
"user/[EMAIL PROTECTED] " successfully and get a login.


/usr/nagios/libexec/check_oracle
--login dbname
OK - dummy login connected



Does anybody understand
why this check has stopped working again when I 
haven't
 done anything to it, I
have to get this working in a stable fashion, I 
can't have it doing this
every time I restart nagios...
  
  
  
  
  
   How do you restart Nagios? Or do you mean reload?
  
  
  If the former, check that the startup scripts correctly
source the environment variables. If the latter, it could be a bug in
Nagios, though I'm not sure why. 
  
  
  Alternatively, check_oracle
will parse /var/opt/oracle/oratab (and other locations) for the
ORACLE_HOME variable. Some installations of Oracle use this to know
what SIDs are installed on a server. You could amend that instead. 
  
  
  
  
  Ton
  
  
  
  
  
  


Just figured out the same problem by looking at another thread on this,
the answer is permission, make sure the oracle install tree has the
world execute bit on! 
chmod 755 /app/oracle -R
btw, I'm doing this via nrpe...so it has nothing to do with
ORACLE_HOME, oracle client, ...none of that.

  
Thanks Yang. I've forwarded this to nagios-users and to Hari.
  
  
  Ton
  
  
  
  http://www.altinity.com
  T: +44 (0)870 787 9243
  F: +44 (0)845 280 1725
  Skype: tonvoon
  
   
  

My problem with this wasn't the x bit, since I could su - nagios and
run the plug-in fine, and I had the $ORACLE_HOME var set. So I figured
it must be the var problem that the script is falling down on and after
adding the $ORACLE_HOME variable to the beginning of the script, I have
had no further problems...

-h




-
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] Directories (servers, routers, ...) in Nagios2.4

2006-07-18 Thread Thomas Sluyter
On 18 Jul, 2006, at 10:25, Guillaume wrote:

> REMY Julien a écrit :
>> Hello,
>>
>> I would like to know how to use the files printers, servers, routers,
>> switches in nagios2.4.
>>
>> I discomment them in the file nagios.cfg.
>>
>> Is it necessary to put a file hosts.cfg in each directory?
>
> The best advise I can give you is to read the documentation as it  
> seems
> you don't known Nagios at all.

That would be odd since Remy's been on this mailing list at least as  
long as I have.

Remy:
When you tell Nagios to include directories filled with configuration  
files, instead of separate config files, it will include -all- files  
in these directories. This means that you can choose to either:
A) make one big hosts.cfg file, or
B) split the hosts.cfg file into as many files as you like and then  
distribute them among these directories.

But strictly speaking you don't -have- to have these definitions in  
each directory, nor do you have to use the default directories. For  
all I care you make a bajillion subdirectories, all with a numerical  
name. Very organised :p

Cheers!


Thomas
-
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] Directories (servers, routers, ...) in Nagios2.4

2006-07-18 Thread Guillaume
REMY Julien a écrit :
> Hello,
> 
> I would like to know how to use the files printers, servers, routers,
> switches in nagios2.4. 
> 
> I discomment them in the file nagios.cfg. 
> 
> Is it necessary to put a file hosts.cfg in each directory?
> 
> Can you explain me please ?
> 
> Thank you
> 
> -
> 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

Hi,

The best advise I can give you is to read the documentation as it seems 
you don't known Nagios at all.

Regards
Guillaume


-- 
Guillaume
E-mail: silencer__free-4ever__net
Blog: http://guillaume.free-4ever.net

Site: http://www.free-4ever.net

-
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


[Nagios-users] Directories (servers, routers, ...) in Nagios2.4

2006-07-18 Thread REMY Julien
Hello,

I would like to know how to use the files printers, servers, routers,
switches in nagios2.4. 

I discomment them in the file nagios.cfg. 

Is it necessary to put a file hosts.cfg in each directory?

Can you explain me please ?

Thank you

-
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] bind nagios server to a certain IP

2006-07-18 Thread Greg Cope
On Tue, 2006-07-18 at 12:04 +1200, Steve Shipway wrote:
> > > > > Is it possible to get a nagios server to bind to an IP?
> ...
> > > > > I want to get nagios to use one IP on a cluster so that 
> > the other 
> > > > > host
> > > > > (active-passive) can take it over in the event of a failure.
> ...
> > > I've set allowed_hosts in nrpe.conf - so the clients will 
> > only accept 
> > > checks from a certain IP.
> 
> We do this by just adding the IP addresses of every member of the
> cluster, plus the cluster virtual IP, to the NRPE allowed_hosts lists
> and switch access tables.  Otherwise it gets a bit awkward in having to
> make your HA software (linux_HA?) change your default router to force
> the virtual interface (and then change back on fail back).

Steve,

That's the answer I came to as well - but thanks for pointing it out.

Greg

> Steve
> 
> -
> 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


-
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