Re: [Nagios-users] Daily status report?

2006-08-16 Thread rob . moss
Heh, i was about to suggest my Nagios Email reporter :-) but it seems some
kind soul did the work for me!

Yeah.. use version 1.3.1




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 15/08/2006 17:50


Sent by:[EMAIL PROTECTED]



To:sun.jedi

cc:Nagios-users


Subject:Re: [Nagios-users] Daily status report?

Marc,

Have you looked on Nagios Exchange?  There is a project called Nagios
Email Report that may be what you are looking for.  I haven't used it,
so I can't make any claims on how well it works.  The link is
http://www.nagiosexchange.org/AddOn_Projects.22.0.html?tx_netnagext_pi1[p_view]=640


Hope that helps,

David Price



Marc Belanger wrote:
 Greetings,

 I have nagios 2.x installed on Solaris 10 monitoring ~100 hosts, and
 ~1000 services. I am collecting perfdata,

 As the admin/engineer, I'm quite happy with the http interface for
 checking the status of systems and knowing what needs to get
 fixed/looked at. I installed/configured nagios originally for my
 benefit anyways, as part of a data center lights out effort.

 The problem:
 Management saw the website (I blame myself, screensaver is my new best
 friend). We all know what happens when suits get involved... yes, they
 want a daily report. Apparently clicking on a link, and logging into a
 website is too much work.

 My first solution:
 Heh, I'd snap a screen print of a custom report, and mail it. Life was
 good, until I went on vacation.

 My second solution:
 Google, google, google. I'm surprised that I still cannot snap a txt
 formatted host up/down for 'report period' (in my case 7am-5pm defined
 in the cfg's) without using cacti, rrdtool, or any other add-ons.

 My third solution:
 I'm giving in to rrdtool (I think). It seems like a lot more work than
 I want to invest, but I can perl/shell script it and crontab it, so
 the suits get thier daily eye candy, and I can go back on vacation.

 My questions:
 - Is there a better way I haven't thought of, or found?
 - Is there an EASIER way I haven't thought of, or found?
 - HALP!
 - Any off the cuff suggestions? Aside from screensavers.

 Thanks much in advance,
 -Marc

 

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

 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


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



This message and any attachments (the message) is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI  AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI  AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make 

Re: [Nagios-users] detect 2 DHCP Servers on network?

2006-08-16 Thread Hari Sekhon




Hari Sekhon wrote:

  
  
  
  
Eli Stair wrote:
  
Use CPAN's Net::DHCP::Packet to quickly create a DHCPDISCOVER packet, and
IO::Socket::INET to read raw incoming data to port 68, count the number of
DHCPOFFER's you get.  Set your script output to proper OK/WARN/CRIT state
and the number/names of "rogue" servers in the text.

Just a suggestion. 

/eli


On 7/28/06 9:40 AM, "Hari Sekhon" [EMAIL PROTECTED] wrote:

  

  I was wondering what the best way of detecting a rogue dhcp server on
the network is.


I ask because some idiot at work installed vmware with it's dhcp server
which stuffed the company laptops which rely on dhcp since they got sent
to the wrong subnet.

Nagios actually drew my attention to this when troubleshooting because
it said 2 DHCP offers received.

I'm thinking about writing a shell wrapper to parse the output from the
check_dhcp plug-in and raise a warning status if it returns more than 1
dhcp offer.

Any other ideas?


Hari


-
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.phpp=sourceforgeCID=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





  
  
or even easier than that perl I could use a bash wrapper to check_dhcp
and check the output from that and raise the warning code if more than
1 offer was received, it seems quicker and easier which is probably
what I will do thinking about it
  
-h
  



Does anybody have any other ideas regarding checking for rogue DHCP
servers on a network. Really there should be an option to this plugin
to check if there is more than N offers received and also there should
be an option to make sure that the offer is received from the correct
server to ensure it hasn't been usurped by another dhcp server. There
is already an option to check the address is in the right range, which
I guess amounts to a similar thing. If this option can be present then
the option to make sure that the address was supplied by the correct
server/servers isn't too far a stretch.


Hari



-
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=lnkkid=120709bid=263057dat=121642___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Question about NRPE configuration file

2006-08-16 Thread Wheeler, JF (Jonathan)
 -Original Message-
 From: Jason Martin [mailto:[EMAIL PROTECTED] 
 Sent: 14 August 2006 17:11
 
 On Mon, Aug 14, 2006 at 11:25:40AM +0100, Wheeler, JF (Jonathan)
wrote:
  I am in the process of migrating from a configuration with a single
  Nagios server to one with a master and a slave server.  As part of
this
  migration I have updated the NRPE configuration that is installed on
the
  clients to include both hosts as allowed_hosts for NRPE calls.
However
  I noticed that at NRPE restart, the following messages are issued:
  
  Aug 14 09:24:15 NODENAME nrpe[2592]: Unknown option specified in
config
  file '/etc/nagios/nrpe.cfg' - Line 41 
  Aug 14 09:24:15 NODENAME nrpe: nrpe startup succeeded
  Aug 14 09:24:15 NODENAME nrpe[2593]: Starting up daemon
  Aug 14 09:24:15 NODENAME nrpe[2593]: Warning: Daemon is configured
to
  accept command arguments from clients!
  
  Line 41 of /etc/nagios/nrpe.cfg is the allowed_hosts line which
reads
  allowed_hosts=III.III.III.111, III.III.III.222
 Try removing the space after the comma.
 
 -Jason Martin

Thanks for the suggestion.  I tried removing the space, but the message
remains.  However it is clear from testing the clients that both
configurations work anyway !  You may (all) gather that I am just
starting with distributed monitoring, so I am learning as I go.

Jonathan Wheeler
e-Science Centre
Rutherford Appleton Laboratory

-
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] how to display 3d statusmap?

2006-08-16 Thread Arief Iqbal
i've finished installing my nagios, but there is a problemwhen i try to display 3d status map, it cannot be display, and also status map, there's no display and only appear zoom in, zoom out, layout method, etc, there's no graphic at all. My question is, how we can display 3d status map or status map graphic in nagios web interface??? what should i configure??? 
		How low will we go? Check out Yahoo! MessengerÂ’s low  PC-to-Phone call rates.-
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=lnkkid=120709bid=263057dat=121642___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] New check script: check_nsca

2006-08-16 Thread Thomas Sluyter
I can't believe I'm the first one to think of this. o_O

NSCA is vitally important to most of our Nagios environments and  
nobody has bothered to verify that the daemon itself works properly?

At my current client we've run into many occasions where the NSCA  
daemon was running, but was not transferring message to Nagios  
itself. So while things -look- hunkydory, we were actually missing a  
lot of incoming messages (remember that Nagios just repeats the last  
status if it doesn't receive any new status updates).

The script is up for grabs on the Exchange. As the page describes, it  
needs to be run on the system running the NSCA daemon and it also  
requires the use of send_nsca.

Any comments/suggestions/bitches/moans are more than welcome :) I  
realize it's not perfect yet, but it's better than nothing.

Cheers!


Thomas

-
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] NRPE binary for HP-UX 10.20

2006-08-16 Thread Alexander Harvey
Hi All,I realise this is a long shot, but does anyone out there have a precompiled NRPE binary (any version I don't mind) for HP-UX 10.20 or know of where I can get one from? And no, there's no ssh on this box and by the looks of it, that'll be even harder to get to work than NRPE..
Thanks muchly,Alex
-
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=lnkkid=120709bid=263057dat=121642___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NRPE binary for HP-UX 10.20

2006-08-16 Thread C. Bensend

 I realise this is a long shot, but does anyone out there have a
 precompiled
 NRPE binary (any version I don't mind) for HP-UX 10.20 or know of where I
 can get one from? And no, there's no ssh on this box and by the looks of
 it,
 that'll be even harder to get to work than NRPE..

http://www.bennyvision.com/projects/hpux/index.php

http://www.bennyvision.com/projects/nagios/index.php

These are _older_ versions of both NRPE and OpenSSH, but they
might be what you need.

Benny


-- 
If an advisor says to me 'My liege, he is but one man.  What can one
man possibly do?', I will reply 'This.' and kill the advisor.
  -- Peter Anspach's Evil Overlord List, #46



-
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NRPE binary for HP-UX 10.20

2006-08-16 Thread Alexander Harvey
OMG, are you serious? What an excellent page! Thanks!On 8/16/06, Kaplan, Andrew H. [EMAIL PROTECTED]
 wrote:













Hi there –



The following URL probably has what you
are looking for: www.bennyvision.com

Clicking on the projects link will point
you in the right direction. I have used the

binaries on this page for our 10.20 and
11.00 systems without any problems. 













From: 
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 
On Behalf Of Alexander Harvey
Sent: Wednesday, August 16, 2006
8:47 AM
To:
nagios-users@lists.sourceforge.net
Subject: [Nagios-users] NRPE
binary for HP-UX 10.20





Hi All,

I realise this is a long shot, but does anyone out there have a precompiled
NRPE binary (any version I don't mind) for HP-UX 10.20 or know of where I can
get one from? And no, there's no ssh on this box and by the looks of it,
that'll be even harder to get to work than NRPE.. 

Thanks muchly,
Alex








-
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=lnkkid=120709bid=263057dat=121642___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Writing Your Own Plugins

2006-08-16 Thread Colby Williams
Has anyone written a plugin? If so, what references (websites, books) were used?Colby
-
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=lnkkid=120709bid=263057dat=121642___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Writing Your Own Plugins

2006-08-16 Thread John R. Daily
Perhaps the most important reference:

http://nagiosplug.sourceforge.net/developer-guidelines.html

-John


-
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Writing Your Own Plugins

2006-08-16 Thread Thomas Sluyter
On 16 Aug, 2006, at 16:34, Colby Williams wrote:

 Has anyone written a plugin?  If so, what references (websites,  
 books) were
 used?

Well, judging by nagiosexchange.com there are boatloads of people  
writing scripts and plugins :) I'm one of them...

The only reference I used were existing scripted plugins to sneak a  
little peek. I don't do C/C++/Perl, so I'm stuck using ksh/bash. No  
books required :)

Is there anything specific you would like to do that doesn't exist  
yet? What're you having problems with?..

Cheers,


Thomas

-
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Writing Your Own Plugins

2006-08-16 Thread Thomas Sluyter
On 16 Aug, 2006, at 16:47, Colby Williams wrote:

 I am trying to check uptime (#uptime) on a Unix box.

Either use the snmp uptime script from Nagios Exchange, or write it  
yourself.

 Bigger picture, I have never written in bash, so using them as an  
 example is
 kind of confussing.
Ow... Have you done -any- scripting before? Point is, if you know  
UNIX, you'll know 60% of what there is to know about shell  
scripting :) Cause in scripting most of the commands you'll use are  
your basic UNIX commands. All the shell script adds is logic to tie  
it all together :)

There's bunches of websites telling you all you need to know about  
shell scripting. You'll learn fairly quickly. Trust me :)

o/


Thomas



-
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] New check script: check_nsca

2006-08-16 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Thomas Sluyter
 Sent: Wednesday, August 16, 2006 6:29 AM
 To: Nagios Users Mailinglist
 Subject: [Nagios-users] New check script: check_nsca
 
 I can't believe I'm the first one to think of this. o_O
 
 NSCA is vitally important to most of our Nagios environments and
 nobody has bothered to verify that the daemon itself works properly?
 
 At my current client we've run into many occasions where the NSCA
 daemon was running, but was not transferring message to Nagios
 itself. So while things -look- hunkydory, we were actually missing a
 lot of incoming messages (remember that Nagios just repeats the last
 status if it doesn't receive any new status updates).

It's a useful plugin to be sure but doesn't Freshness Checking address
this problem? 

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

--
Marc 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] notification issue

2006-08-16 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Tom Brown
 Sent: Wednesday, August 16, 2006 10:59 AM
 To: Nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] notification issue
 
 Hi
 
 When my notifications come through they look like this
 
 * Nagios  *
 
 Notification Type: PROBLEM
 
 Service: www
 Host: xxx
 Address: 
 State: CRITICAL
 
 Date/Time: Wed Aug 16 11:43:52 EDT 2006
 
 Additional Info:
 
 $
 
 
 How can i make sure that the addition info has information in it? I
see
 this if i look on the web but not in the mail.

In the future, please post relevant config information (such as the
notification command), nagios version, etc so people can assist you
better.

In this case it seems that you're using Nagios 2.x with the now unused
$OUTPUT$ macro from 1.x. The replacement is $SERVICEOUTPUT$. Change that
in your notification command and you should see the service output
information.

--
Marc 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] notification issue

2006-08-16 Thread Mike Koponick
Tom.

What does your misccommands.cfg look like for this command? The clue
might b there. I have noticed that spaces with \n can make a
difference.

Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom
Brown
Sent: Wednesday, August 16, 2006 8:59 AM
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] notification issue

Hi

When my notifications come through they look like this

* Nagios  *

Notification Type: PROBLEM

Service: www
Host: xxx
Address: 
State: CRITICAL

Date/Time: Wed Aug 16 11:43:52 EDT 2006

Additional Info:

$


How can i make sure that the addition info has information in it? I see 
this if i look on the web but not in the mail.

thanks


-
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Link Checker

2006-08-16 Thread Rusch, Daniel




All,

So I don't reinvent 
the wheel is there a plug-in that checks links on a page to ensure they are 
valid?

I checked the 
archives and source forge but don't see anything.

If not I'll create 
one

Thank you,

Daniel G. 
Rusch
-
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=lnkkid=120709bid=263057dat=121642___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Link Checker

2006-08-16 Thread David Price
Rusch,

Take a look at WebInject (http://www.webinject.org/plugin.html).  They 
have a plugin for Nagios that I have used to test user interaction with 
a web site.  Another option would be to check the links directly with 
check_http.

Hope that helps,

David Price



Rusch, Daniel wrote:
 All,
  
 So I don't reinvent the wheel is there a plug-in that checks links on 
 a page to ensure they are valid?
  
 I checked the archives and source forge but don't see anything.
  
 If not I'll create one
  
 Thank you,
  
 Daniel G. Rusch
 

 -
 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=lnkkid=120709bid=263057dat=121642
 

 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios Syslog Facility

2006-08-16 Thread Mohan, Ajit (CFSA)
Hi All:

I'm trying to figure out what logging facility nagios uses, so I can
forward
all nagios alerts via syslog to another host (syslog server).  

I tried nagios but that doesn't work. I see the messages logged in
/var/log/messages
 
Anyone have any ideas?

Thank you

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] New check script: check_nsca

2006-08-16 Thread Steve Shipway
Great idea, I never though of it for some reason.  I've just added
check_tcp on port 5667 to make this test - we use NSCA for receiving
SNMP traps and messages from NagEventLog, so these are reset to 'ok' by
a freshness check rather than to 'unknown'.  Checking NSCA is alive is a
good idea.

Steve

-
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios Syslog Facility

2006-08-16 Thread Mohan, Ajit (CFSA)

Figured it out, its user.

Thank you

-Original Message-
From: Mohan, Ajit (CFSA) 
Sent: Wednesday, August 16, 2006 6:42 PM
To: 'nagios-users@lists.sourceforge.net'
Subject: Nagios Syslog Facility

Hi All:

I'm trying to figure out what logging facility nagios uses, so I can
forward
all nagios alerts via syslog to another host (syslog server).  

I tried nagios but that doesn't work. I see the messages logged in
/var/log/messages
 
Anyone have any ideas?

Thank you

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] detect 2 DHCP Servers on network?

2006-08-16 Thread Marc Belanger
The best way?I'd think the 'stuffed' laptops would have the IP of the server providing IP's. Simple MAC address - switch port search and subsequent lockdown of that switch port should tell you who your idiot is by listening to who is screaming about the crappy network the loudest.
The plugin check_dhcp could be used globally on all monitored hosts in the same fashion as check_ping. Problem there is only if the offending dhcp box isn't monitored by nagios.Good luck.-Marc
On 8/16/06, Hari Sekhon [EMAIL PROTECTED] wrote:



  


Hari Sekhon wrote:

  
  
  
  
Eli Stair wrote:
  
Use CPAN's Net::DHCP::Packet to quickly create a DHCPDISCOVER packet, andIO::Socket::INET to read raw incoming data to port 68, count the number ofDHCPOFFER's you get.  Set your script output to proper OK/WARN/CRIT state
and the number/names of rogue servers in the text.Just a suggestion. /eliOn 7/28/06 9:40 AM, Hari Sekhon 
[EMAIL PROTECTED] wrote:  

  I was wondering what the best way of detecting a rogue dhcp server onthe network is.I ask because some idiot at work installed vmware with it's dhcp serverwhich stuffed the company laptops which rely on dhcp since they got sent
to the wrong subnet.Nagios actually drew my attention to this when troubleshooting becauseit said 2 DHCP offers received.I'm thinking about writing a shell wrapper to parse the output from thecheck_dhcp plug-in and raise a warning status if it returns more than 1
dhcp offer.Any other ideas?Hari-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 cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=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 reportingany issue. ::: Messages without supporting info will risk being sent to /dev/null

  
  
or even easier than that perl I could use a bash wrapper to check_dhcp
and check the output from that and raise the warning code if more than
1 offer was received, it seems quicker and easier which is probably
what I will do thinking about it
  
-h
  



Does anybody have any other ideas regarding checking for rogue DHCP
servers on a network. Really there should be an option to this plugin
to check if there is more than N offers received and also there should
be an option to make sure that the offer is received from the correct
server to ensure it hasn't been usurped by another dhcp server. There
is already an option to check the address is in the right range, which
I guess amounts to a similar thing. If this option can be present then
the option to make sure that the address was supplied by the correct
server/servers isn't too far a stretch.


Hari




-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=lnkkid=120709bid=263057dat=121642___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
-
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=lnkkid=120709bid=263057dat=121642___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] ndoutils configure won't find mysql include files, and ndo2db exiting on signal 4

2006-08-16 Thread Josh Endries
Hi,

I've been trying to get ndoutils to work but am having some trouble. 
./configure doesn't find my mysql include files (it does find the 
library). Maybe it doesn't work with mysql 5? I've tried 
--with-mysql-inc=/usr/local, /usr/local/include, and 
/usr/local/include/mysql (the files are in here; this is on FreeBSD). It 
never finds them. I've tried with and without specifying with-mysql-lib 
and in different orders on the command line to no avail. Any ideas?

I ran out of ideas and went into configure and made it think the headers 
were there regardless of the test. Then changing source/Makefile and 
adding -I/usr/local/include to OTHERLIBS caused everything to compile 
correctly.

Anyway, I got things running, but whenever Nagios runs a check (I 
assume, it's periodic), I see this:

Aug 16 20:02:52 nagios pid 83608 (ndo2db), uid 1007: exited on signal 4
Aug 16 20:02:52 nagios nagios: ndomod: Error writing to data sink!  Some 
output may get lost.  4125 queued items to flush.
Aug 16 20:02:52 nagios pid 83608 (ndo2db), uid 1007: exited on signal 4
Aug 16 20:03:08 nagios nagios: ndomod: Successfully reconnected to data 
sink!  0 items lost, 4298 queued items to flush.
Aug 16 20:03:10 nagios pid 83669 (ndo2db), uid 1007: exited on signal 4
Aug 16 20:03:10 nagios nagios: ndomod: Error writing to data sink!  Some 
output may get lost.  4274 queued items to flush.
Aug 16 20:03:10 nagios pid 83669 (ndo2db), uid 1007: exited on signal 4
Aug 16 20:03:26 nagios nagios: ndomod: Successfully reconnected to data 
sink!  0 items lost, 4437 queued items to flush.
Aug 16 20:03:28 nagios pid 83731 (ndo2db), uid 1007: exited on signal 4

The ndo2db process doesn't quit, it must restart or something, maybe it 
can't connect to the DB? There are no messages logged about what's going 
on, and no debug/verbose mode for ndo2db. :( I think that corresponds to 
signal ILL, but either way I'm guessing it has something to do with a 
busted mysql connection somewhere...

J

-
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Web admin for nagios for multiple groups

2006-08-16 Thread Samuel P Howard
Hi.

I have a situation where I'd like to allow multiple groups to administer 
their own devices to monitor via a web front end.  These users won't 
have direct access to the linux host (nor would they know how to edit a 
file anyway), so it needs to be web based.

I was hoping that I could use the cfg_dir option to give each group 
their own nagios space, but was wondering if any of the current 
web-based admin tools would be fairly easy to adapt to a scheme like that?

Or, are there any current web-based admin tools that understand separate 
users (i.e. groups) already that might just work, and I won't care about 
how the underlying config files are laid out.  :)

Thanks,
Sam

-
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=lnkkid=120709bid=263057dat=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