Re: [Nagios-users] Daily status report?

2006-08-17 Thread ThomasC.
Hi,

I cant get it work with nagios running on https, i get a segmentation 
fault...
Any suggestions?


[EMAIL PROTECTED] wrote:
 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,

-
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] Daily status report?

2006-08-17 Thread rob . moss
What exactly is segfaulting?

You haven't provided much info to work with..

The script uses some basic Perl modules (libwwwperl) , so if there's
anything sefaulting it's related to your local box.

Make sure that you can run the reporting CGI's and Perl works, if not, you
need to fix them.




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


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


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

Hi,

I cant get it work with nagios running on https, i get a segmentation
fault...
Any suggestions?


[EMAIL PROTECTED] wrote:
 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,

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

[Nagios-users] Daily status report?

2006-08-15 Thread Marc Belanger
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

Re: [Nagios-users] Daily status report?

2006-08-15 Thread Sébastien Barbereau
Have a look at the mailing list archive:http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg06430.htmlShould provide you with the necessary tool and information. 
(at least I hope so)Seb.On 8/15/06, Marc Belanger [EMAIL PROTECTED] 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.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

Re: [Nagios-users] Daily status report?

2006-08-15 Thread David Price
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


Re: [Nagios-users] Daily status report?

2006-08-15 Thread Max H.
David Price wrote:
 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
 

This works quite well. There was a bug last week in the 1.3.1 version,
but he sorted that out rather quickly.

What I did was create three small scripts to fire this plugin up. One
sends a daily and overnight, the other sends a weekly report, and the
last sends a monthly report.

Basically it takes the report from the web based reports tools, and
sticks it in an e-mail as HTML.

If the suits want a nice report for overnight, daily, weekly, and
monthly, I'd look into this.

Set it up once, link some scripts to run across cron or whatever, and
you'd be good.

Max

-
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] Daily status report?

2006-08-15 Thread rader

  Have you looked on Nagios Exchange?  There is a project called Nagios
  Email Report that may be what you are looking for.
 [...]

But are there any CLI report generators that output plain text??

steve 
- - - 
systems  network manager
high energy physics
university of wisconsin

-
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] Daily status report?

2006-08-15 Thread rader

  From: Josh Yost
  what kind of output are you wanting exactly?

Something like this:

bash$ nagiosr --help
usage: nagiosr [args]
  --state str report about state str (down, critical, warning or unknown)
  --yesterday report about yesterday 
  --day str   report for day str
  --start str report starting at str
  --end str   report ending at str
  --soft  include soft state alerts
default reporting period is for all of today
bash$ nagiosr --yesterday

   Critical Nagios Alerts during Monday, August 14 2006

Date  Time Down   Date  Time UpDescription  Plugin Output 
 Duration 
     -- 
  
Mon Aug 14 10:25   Mon Aug 14 10:27  login01 SSH Service   socket timed out 
2m20s
Mon Aug 14 11:52   Mon Aug 14 11:58  sesame Load Average   6.83 loadave 
5m32s
Mon Aug 14 13:27   ** still down **  cilanto NSR tape   99 GB avail 
   1d2h3m

Almost exactly a decade ago I coded just such a report generator
for an old network montoring package (NOCOL).  Someday I hope to
do the same for nagios.

steve 
- - - 
systems  network manager
high energy physics
university of wisconsin


-
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] Daily status report?

2006-08-15 Thread Robert Arends
We needed an 8:30am daily email/pager message that gave a quick
synopsis.

So I wrote some perl to use a Nagios tool called nagiostats and email
the results nicely formatted.

nagiostats -m
--data=NUMHSTUP,NUMHSTDOWN,NUMHSTUNR,NUMSVCOK,NUMSVCCRIT,NUMSVCUNKN

CODE
#!/usr/bin/perl
use strict;
my $options =
'NUMHSTUP,NUMHSTDOWN,NUMHSTUNR,NUMSVCOK,NUMSVCCRIT,NUMSVCUNKN';
my $command = nagiostats -m --data=$options;

my @result = `$command`;
chop(@result);

/CODE

So now the results are in an array $result, put the following into a
print(), or an email routine, etc to send it to the suits.

EXAMPLE Variables
HOSTS:
Down:$result[1]
UnReachable:$result[2]
Up:$result[0]

SERVICES:
Critical:$result[4]
UnReachable:$result[5]
Up:$result[3]

/EXAMPLE Variables

I run the program at 8:30 am every day.  For us it is used by the
monitoring staff, but you could use it for suits.

You could just use shell script and 'nagiostats' with out the -m, and
GREP out the lines you want and pipe in to mail.

Rob :-)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, 16 August 2006 7:08 AM
To: Josh Yost
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Daily status report?


  From: Josh Yost
  what kind of output are you wanting exactly?


This email and any attachments transmitted with it are confidential and may 
contain legally privileged information.  If you are not the intended recipient 
you are prohibited from disclosing, copying or using the information contained 
in it.  If you have received this email in error, please notify the sender 
immediately by return email and then delete all copies of this transmission 
together with any attachments.

It is the addressee's/recipient's duty to virus scan and otherwise test the 
email before loading it onto any computer system.  IMC Communications does not 
accept liability in connection with any computer virus, data corruption, delay, 
interruption, unauthorised access or unauthorised amendment in relation to this 
email.

For information about our privacy policy, visit the IMC Communications website 
at www.imc.net.au

This email has been checked by IMC's SMTP gateway.
--

-
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