Re: [Nagios-users] OID's missing for check_snmp_cpfw.pl

2009-05-19 Thread Sébastien Barbereau
Hi,I've been running it for some time without problem. We are running some
IP710 and IP650 with up to date software.
Are you sure that the nokia snmp service is running as well as the
checkpoint one?
On the device you should be able to see two processes running : snmpd (port
161) and cpsnmpd (port 260). If the processes are running verify the output
of : snmpwalk -v2c -c SNMPCOMMUNITY FWNAMEORIP .1.3.6.1.4.1.2620.1.1.2

Did you authorize snmp from the nagios host to the host IP?

seb.

On Mon, May 18, 2009 at 6:37 PM, Andrew Davis  wrote:

>  I'm trying to make use of check_snmp_cpfw.pl against a pair of redundant
> CP firewalls. For any test I try, I see:
>
> cannot find oids / CPFW Status : CRITICAL
>
> I've verified all the perl stuff including Net::SNMP and Getopt::Long
>
> ./check_snmp_cpfw.pl -H 10.1.1.250 -C obfuscated -swm
> FW : cannot find oids / SVN : cannot find oids / MGMT : cannot find oids /
> CPFW Status : CRITICAL
>
> it appears from the website that the script was last updated on 2007. We're
> running IP250's with the latest Firewall-1 s/w. Perhaps the script is too
> old for our h/w or s/w? I'm thinking that maybe the script only works on FW1
> on local UNIX servers? But since its going over SNMP over the network, I'm
> sort of doubting this.
>
> Has anyone else experienced this? Any solution? Is anyone else using the
> latest, greatest FW-1 s/w on an IP250 and this script works for them?
>
> --
>
>
>   A. Davis
>   Email: ncc...@gmail.com
>
>   "There is no limit to what a man can accomplish
>if he doesn't care who gets the credit." - Ronald Reagan
>
>
>
> --
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> ___
> 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
>
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
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] nagios3 and embeded perl

2008-03-19 Thread Sébastien Barbereau
Hi list,
I've been planning to upgrade to Nagios3 lately and wanted to start using
the ePN.
Compiling with or without ePN works fine. But if I try to run the perl
enabled Nagios version it nicely segfaults at startup.
(Of course the non ePN Nagios daemon works fine)

[EMAIL PROTECTED]:/usr/local/nagios-3.0/bin> ../bin/nagios  
/usr/local/nagios-3.0
/etc/nagios.cfg

Nagios 3.0
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 03-13-2008
License: GPL

Nagios 3.0 starting... (PID=11943)
Local time is Wed Mar 19 11:16:23 GMT 2008
Segmentation fault
[EMAIL PROTECTED]:/usr/local/nagios-3.0/bin>

Enabling debugging in the config doesn't bring any details.
Doing a strace gives this out (shortened for clarity):
.
_llseek(0, 0, 0xbf97ed50, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...})
= 0
_llseek(1, 0, 0xbf97ed50, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...})
= 0
_llseek(2, 0, 0xbf97ed50, SEEK_CUR) = -1 ESPIPE (Illegal seek)
open("/usr/local/nagios-3.0/bin/p1.pl", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf97ee08) = -1 ENOTTY
(Inappropriate ioctl for device)
_llseek(4, 0, [0], SEEK_CUR)= 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0664, st_size=31892, ...}) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
readlink("/proc/self/exe", "/usr/local/nagios-3.0/bin/nagios", 4095) = 32
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 1935 detached


I'm wondering if anyone ran into this issue or has an idea on how to fix it?

Thanks,
Seb.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Anyone know of add-ons / patches to Nagios that produce XML output for host and service statuses?

2008-03-11 Thread Sébastien Barbereau
Hi,
if you are using the ndo backend it is very simple to create an xml from a
db : mysqldump -xml ...

Seb.

On Mon, Mar 10, 2008 at 10:50 PM, Max <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I saw NXE, but it was for 1.x.  Ideally status.cgi would have a
> mode=xml param :) to produce well-formed XML output so that external
> programs could have a nice HTTP-based interface, I think this would be
> hugely useful.
>
> I have searched for other projects, but only found NXE.
>
> Anyone know of others?  I really wish I had the time to patch
> status.cgi and create an XML mode :) .. anyone made attempts at this?
>
> Regards,
> Max
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> 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 SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Best way to monitor application clusters

2007-09-24 Thread Sébastien Barbereau
In similar cases I've always used  the NDO database to query the status of a
group of things.

There are also some other options check_multi for example (
http://my-plugin.de/wiki/doku.php/check_multi)

of course the nagios documentation may help you on this:
http://nagios.sourceforge.net/docs/2_0/clusters.html

Concerning the "simple login web page", I would again suggest you to have a
look at NDO. Creating a simple PHP/Python/Perl/ASP page to query the
database is not complicated and would allow you to create custom displays
for specific usages.


On 9/24/07, Paul Weaver <[EMAIL PROTECTED]> wrote:
>
>  I've recently started using nagios in our development environment, and
> have knocked a few plugins for some of our programs (i.e. monitor a log on
> a remote server to make sure it's growing, but not growing too fast or too
> slow, or jumbo pings between two remote machines), which is very impressive.
>
> One thing I would like to monitor is a group of hosts/services, and flag a
> warning if x% are not available, and a critical if y% are offline. A common
> example would be checking DNS services. If you have 4 DNS servers, you don't
> want to be woken up at 3AM if one falls offline, but if 3 are offline you
> would, and if 4 are offline you want an APB. You still want to see the
> servers are offline though on a webpage, and possible a notification in work
> hours.
>
> I'm aware of host/service groups, being one way of doing it, however I'm
> unsure if notifications can be set based on % of hosts/services available in
> a group.
>
> Another way would be a "virtual host", with a custom "check_host_alive"
> which checks all hosts in a collection, and returns an OK/critical/warning
> based on the number of failures, and likewise with "virtual services". The
> original hosts could then be monitored separately, or even not at all.
>
> For example, a service I would like to check is whether 3 mysql databases
> are in sync with each other. I currently have a web page that compares the
> log positions. It seems to me that logically the service should run on the
> mysql boxes, however I only want it running on
>
> Another example would be I have a piece of java software (call it "A")
> that must run on at least one of 4 machines, and preferably on 2 of them. I
> don't care which machine it's on, but if it's not running I want to be
> notified in red lights.
>
> I could have a simple "virtual service A", which would critical on 0, warn
> on 1 and OK on 2 or more.
> This would be attached to "virtual host A", which would critical on 0,
> warn on 1 and OK on 2 or more of the servers that the service runs on.
>
> I'd also like a "simple" login to the web page which would only display
> the "clusters" of services/hosts, rather than the total view, which would
> allow our support engineers to easilly see real problems, and allow
> management to sleep hapilly with lots of green lights.
>
> I must admit I'm leaning to the virtual host/service thing, but I was
> wondering if there's a standard/better way of monitoring these kind of
> things?
>
> Thanks
>
> http://www.bbc.co.uk
> This e-mail (and any attachments) is confidential and may contain personal
> views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> 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 SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] guest access

2007-07-30 Thread Sébastien Barbereau
Can't you just do this by playing with the apache and nagios configs?
I've done this in the past and it was not really a catch the only thing is
that you need
2 nagios configurations files: one serving the unauthenticated content with
no exec permissions,
one with the authenticated content with the exec permissions (this also
means that you need two set
of cgi scripts reading different nagios config files).

Other options is to not use apache native authentication but to create your
own apache auth module. This can be done
in perl using mod-perl or mod-python. In this case you setup a proper
authentication mechanism under apache with a default
guest user account to fallback if no proper auth is provided. This is
probably nicer and provides more flexibility but is probably more
complicated.
Some examples
of apache authentication modules:
perl: apache::authcookie (
http://search.cpan.org/~mschout/Apache-AuthCookie-3.10/lib/Apache2/AuthCookie.pm
)
python:
http://www.modpython.org/live/current/doc-html/tut-more-complicated.html
I've done some code on this here:
http://www.barbich.net/websvn/wsvn/nagios/nagios/doc/mod_apache_authentication/?rev=0&sc=0


On 7/29/07, Paul Dugas <[EMAIL PROTECTED]> wrote:
>
> Been fiddling with this for a while now and am stumped.  I figure I'm
> not the first to want this so before I get a brain cramp I'll ask.
>
> I run a couple Nagios server on internal networks and I want internal
> users to get read access without having to log in.  I want a select
> number of users to be able to login and get higher level access.  I've
> been trying to get the HTTP interface default to the guest account and
> the HTTPS interface to require a login.  My admins and I would use the
> HTTPS interface while our customers would use the standard HTTP
> interface.
>
> Anybody got something like this going?  Perhaps something else that
> would accomplish the same?  Any info would be appreciated.
>
> pd
> --
> Paul Dugas, Computer EngineerDugas Enterprises, LLC
> [EMAIL PROTECTED]phone: 404-932-1355 522 Black Canyon Park
> http://dugas.ccfax: 866-751-6494 Canton, GA 30114 USA
> --
> This e-mail and any attachments are confidential.  If you receive
> this message in error or are not the intended recipient, you should
> not retain, distribute, disclose or use any of this information and
> you should destroy the e-mail and any attachments or copies.
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> 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 SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
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] Printable Documentation

2007-03-06 Thread Sébastien Barbereau

Hi,
the broken link has been fixed.
There are differences betwen the PDF I've generated and the "official" pdf
from Holger Weiss. Especially about printed output (alternate margins, table
of contents, page formatting ...).
URL: http://runnagios.be/doc.html
Seb.


On 3/5/07, Holger Weiss <[EMAIL PROTECTED]> wrote:


* Lars Stavholm <[EMAIL PROTECTED]> [2007-03-05 00:07]:
> Andy Shellam wrote:
> > Personally I use the "official" PDF:
> >
> >
http://nagios.sourceforge.net/download/contrib/documentation/english/Nagios_2_0_Docs.pdf
>
> Is that one really up to date?

I had created it for Nagios 2.0 and the docs haven't changed that much
since then.  However, here's an updated version:

ftp://ftp.in-berlin.de/pub/users/weiss/nagios/doc/nagios-2.pdf

Holger

--
PGP fingerprint:  F1F0 9071 8084 A426 DD59  9839 59D3 F3A1 B8B5 D3DE

-
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] What to Monitor

2007-02-17 Thread Sébastien Barbereau

tpc port state
service answer
mailqueueS (amount of mails per mail queue, size of mailqueueS) => depends
on your smtp software

disk space
number of smtp processes
number of AV/anti-spam and related processes
number of open ports on the host
log file
DNS service behabiors (resolv working or cache OK)

of course there are also all other system related services which may be
running on the servers: snmpd, sshd, traffic on interface,...



On 2/17/07, Jay Chandler <[EMAIL PROTECTED]> wrote:


I'm primarily responsible for mailservers at my site.

So far I have monitors running on the host's responding to pings, to
load average, and to the mail queue.  Anything else anyone can suggest
that I monitor?  I've only got three or four mailservers, so I don't
mind going a smidgen overboard on their monitoring...

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: A star wars satellite accidently blew up the WAN.


-
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] Several map views of Nagios

2007-01-24 Thread Sébastien Barbereau

Hi,
you may want to have a look a nagvis (http://www.nagvis.org/doku.php) which
is interresting to provide different customisable views and has a simple
built in editor. Of course if you have more than 50 hosts it starts to be
difficult to set them up by hand. Therefor I'd suggest you also look at
graphviz ( http://www.graphviz.org/) to automagically calculate proper
coordinates for your hosts based on the parent relationship between them ...

Seb.

On 1/24/07, naim abu darwish <[EMAIL PROTECTED]> wrote:


Well, i have similar problem,
I have 530 hosts, so having all those on one map would be meaningless.
I just need the routers and the wireless machines on there. If i chose
what to exclude from the status map, it will still keep links pointing
to hidden devices and thus the map will still be cluttered. I found a
patch on  the Pkg-nagios-devel debian mailing list, a post dating back
to Tue, 28 Jun 2005. so i guess that patch was made to work with maybe
nagios-1.x ?? anyway, link to original post ::


http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/2005-June/000804.html

this is supposed to make the map only show certain selective
hostgroups on the statusmap. i tried the patch on statusmap.c , I am
using nagios 2.5. the patch failed. Im not very good at reading C
code, could someone help out here ? maybe fix the patch for the
current nagios version, also seems a good idea to include in future
nagios versions

Help appreciated

-
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 and Graphs

2007-01-04 Thread Sébastien Barbereau

this may be what you're looking for:
http://www.ederdrom.de/doku.php/nagios/pnp_en

On 1/4/07, Kyle Vorster <[EMAIL PROTECTED]> wrote:


Hi Guys,

I am looking for some kind of graphing software to show ping times,

I am pinging google.com and a few other sites to check what speed I get
to those sites but I would like to display this on a graph to see when I
have slow ping times and so forth.

Any one know of any good software for this.

Kind Regards,
Kyle Vorster

-
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] 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=lnk&kid=120709&bid=263057&dat=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=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

[Nagios-users] Implementation Plan for Network monitoring project

2006-08-11 Thread Sébastien Barbereau
Hi list,I'm looking to gather some of your experience in implementing your network & system monitoring infrastructure. I'm not interrested in technical bits and parts (I know Nagios in and out now) but more in the general methodology you have been using, project preparation/plans and so on ...
Of course scope of this questions is not purely related to nagios but has a wider spectrum.Thanks for any info,Seb.
-
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

Re: [Nagios-users] Using SNMP as an alternative to NRPE

2006-07-17 Thread Sébastien Barbereau
Here my 2cents: I've always used SNMP for gathering data on my devices.Why:* SecurityI don't find SNMP security being that worse than that of any network daemon. It provides ACL and can distinguish betwen various privileges levels. (Of course this depends on the snmp implementation but you'll always have a distinguish betwen read and write priv). What snmp v1/v2 mainly lacks IMHO is the absence of any encryption capacity. On the other hand you have to keep in mind that the data your polling is not a TOP SECRET data file. Also, most of my customers prefer to run daemons and services provided by their OS vendor and not some third party tidbit they don't trust. This is also true for the security management teams I've been working with, they prefer to see some well known protocol rather than some "obscur" thing travelling through their firewalls (obscur for them I mean).
* FunctionnalityOf course, SNMP can and will not provide you as much flexibility as NRPE to gather information from systems. But for monitoring standard thinks like CPU,MEM,disk, processes,  ... it does the job and it does it well. So once the snmp service is running I do not have to bother to install the NRPE service, check wether it's available for this platform or not, recompile ... Also, on commercial systems, I'm much more confident that any upgrade done by the customer on his systems won't brake the SNMP layer, this is not something I can be sure of with NRPE (have seen some rare cases where it stopped working after upgrades).
Concerning, the functionnalities of SNMP, you can do anything you want when using some advanced snmp services like NET-SNMP (retrieving script results for example). Some OS and hardware providers had developed very interesting SNMP MIBS containing lots of information to gather and analyse. This can also be interresting to quickly start your Nagios project in the company: just ask for a readonly community and your up&running. But of course, there are thinks you will not be able to check as easyly as expected with SNMP.
This brings us to last point:* Learning curveLearning to use SNMP, learning where the interresting things are, can be a real nightmare with SNMP.So, as said, I've always used SNMP in my Nagios installations and never had to regret it. The choice betwen NRPE & SNMP is I think more a question of habits and of the context of the installation.
Cheers,Seb.PS:Concerning the monitoring through ssh here is why I would not recommend this : security (need an account on every system), ssh is not available on some systems, traffic overhead, ...
==See Nagios in action: http://runnagios.beOn 7/17/06, Alexander Harvey <
[EMAIL PROTECTED]> wrote:I'm not sure I can shed much light onto the subject, but I can say that we were going to use a product called 'SolarWinds' that called upon the net-snmp package and we found that the documentation for that project was quite hopeless and we gave up in despair. This is how we came to be pushing for Nagios as a Unix server monitoring solution. I'd have to say that now I've got SSH up and running the question that's puzzling me is why not just always use ssh? Here is a paper you might find interesting: 


http://www.google.com.au/url?sa=t&ct=res&cd=1&url=""
AlexOn 7/17/06, Thomas Sluyter <
[EMAIL PROTECTED]> wrote:
Anybody else have any good ideas on this subject? I'm still curiousto hear more :)cheers!ThomasOn 13 Jul, 2006, at 12:02, Thomas Sluyter wrote:> On 13 Jul, 2006, at 11:42, Tobias Klausmann wrote:
>>> Hi! ( And he made a lot of good points... )>> All very good points Tobias... Generally speaking...>> In our case they won't steer us away from using the SNMP daemon, but
> in another situation it's a whole different kettle of fish...>> And yes, we'll pay close mind to our security settings... Thanks for> the reminder :)>> 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=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

Re: [Nagios-users] Alerts via RSS?

2006-05-05 Thread Sébastien Barbereau

there is a plugin for this on nagiosexchange:
http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_view]=314

hope this helps.

On 5/5/06, Pavleck, Jeremy D. <[EMAIL PROTECTED]> wrote:


Has anyone seen a setup to have the last X alerts displayed via RSS? I'm
trying to integrate it into a complete monitoring portal


Jeremy Pavleck
Network Engineer  – Systems Management
IT Networks and Infrastructure

Direct Line: 612-977-5881
Toll Free: 1-888-CAPELLA ext. 5881
Fax: 612-977-5053
E-mail: [EMAIL PROTECTED]

Capella University
225 South 6th Street, 9th Floor
Minneapolis, MN 55402

www.capella.edu





---
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&kid0709&bid&3057&dat1642
___
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] Printable Documentation

2006-05-03 Thread Sébastien Barbereau

Hello to all,
I've repackaged the Official Nagios documentation to generate a
"pretty" printable version of the doc.
(2side version, table of content and page numbering, chapter numbering ...)

Available here:
http://runnagios.be/index.html?doc.html

Comments are welcome ...

Regards,
Seb.


---
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&kid0709&bid&3057&dat1642
___
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 Hypergraph 3D view

2005-12-19 Thread Sébastien Barbereau
Hello list,
I've made a simple script to transform a Nagios configuration tree into a strutuctured XML document readable by hypergraph (http://hypergraph.sourceforge.net/).

This enables you to have an alerternate 3D view of the parent relationship between host in your configuration.
A demo is running here: http://barbich.net/hypergraph_demo/
Screenshot: http://barbich.net/hypergraph_demo/sample_hypergraph.png
Script sources and sample files are in the same place.
 
Merry christmas to everyone,
Seb.Barbereau
 
 


Re: [Nagios-users] Foundry Switches

2005-12-01 Thread Sébastien Barbereau
From the foundry mib file:
snChasActualTemperature OBJECT-TYPE    SYNTAX  INTEGER (-110..250) ACCESS read-only STATUS mandatory DESCRIPTION  "Temperature of the chassis. Each unit is 0.5 degrees Celcius. Only management module built with temperature sensor hardware is applicable. For those non-applicable management module, it returns no-such-name."
 ::= { snChasGen 18 } 
So should be 72 is 36°C 
On 12/1/05, Richard Gliebe <[EMAIL PROTECTED]> wrote:
Hi,I have to monitor the temperature from our Foundry FastIron 4802Switches via check_snmp.
I found a mib (.1.3.6.1.4.1.1991.1.1.1.1.18.0) but it's return the value"72", so I thinks that meens "Fahrenheit".Is there a mib for Celsius available?thanksRichard--
Richard GliebeFachhochschule Vorarlberg GmbH / University for Applied ScienceInformation ServicesHochschulstraße 1, A-6850 DornbirnTelefon +43 / (0)5572 / 792-2207E-Mail: 
[EMAIL PROTECTED]---This SF.net email is sponsored by: Splunk Inc. Do you grep through log filesfor problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!http://ads.osdn.com/?ad_idv37&alloc_id865&opclick___
Nagios-users mailing listNagios-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


Re: [Nagios-users] VMWare gsx/esx

2005-11-25 Thread Sébastien Barbereau
Hi Jason,
I wrote a short text about this: http://www.barbich.net/websvn/wsvn/nagios/nagios/doc/samples/VMWARE_ESX/README.txt?op=file&rev=0&sc=0

 
Hope this helps.
s.barbereau
 
On 11/25/05, Jason Martin <[EMAIL PROTECTED]> wrote:
Is anyone monitoring a VMWare GSX/ESX server with Nagios? If so,could you share what components you are monitoring and with
which plugins?Thank you,-Jason Martin--Is "tired old cliche" one?This message is PGP/MIME signed.


Re: [Nagios-users] Nagios-db mysql module not working UPDATE

2005-11-24 Thread Sébastien Barbereau
hi,
here is a patch to the current CVS revision of nagios-db for postgres. 
This patch does:
* correct a bug on startup concerning neb_register_callback command change
* add some logging messages to help debugging
* correct a small typo in handling options (see "offset bugs in option parsing" 
http://sourceforge.net/mailarchive/message.php?msg_id=12557459 )
* modified neb initialisation so that 'processStart' is called when Nagios starts and not when we have a NEBCALLBACK_TIMED_EVENT_DATA . The problem was that processStart() was called berfore the nagios configuration was loaded and therefor processStart() did not have configuration data available. 

 
File is available here: http://www.barbich.net/websvn/wsvn/nagios/nagios/patches/nagios-db/inserter.c.patch?op=file&rev=0&sc=0

 
 
Good luck.
Seb.B
On 11/24/05, Mohr James <[EMAIL PROTECTED]> wrote:
I realized that I was actually compiling it against Nagios2.0b3. So I fixed the Makefile like this:
gcc -g -O2 -Wall -o inserter.o inserter.c -shared -I/opt/INSTALL/nagios/nagios-2.0b5/include/ -I/usr/include/mysql -lmysqlclient -fPICThis gave me several messages like this:inserter.c: In function `loadconfig':
inserter.c:345: warning: passing arg 3 of `neb_register_callback' makes integer from pointer without a castinserter.c:345: error: too few arguments to function `neb_register_callback'There were only three arguments passed to neb_register_callback, although per 
nebmods.c it should be expecting 4:int neb_register_callback(int callback_type, void *mod_handle, int priority, int (*callback_func)(int,void *)){So I changed inserter.c accordingly:   neb_register_callback(NEBCALLBACK_TIMED_EVENT_DATA,loadconfig, 0, loadconfig);
   neb_register_callback(NEBCALLBACK_HOST_STATUS_DATA,processStatus, 0, processStatus);   neb_register_callback(NEBCALLBACK_SERVICE_STATUS_DATA,processStatus, 0, processStatus);   neb_register_callback(NEBCALLBACK_HOST_CHECK_DATA,processCheck, 0, processCheck);
   neb_register_callback(NEBCALLBACK_SERVICE_CHECK_DATA,processCheck, 0, processCheck);In all honesty, I have no idea if this change is correct. It *looks* right, but I am obviously not sure. Any help would be appreaciated.
Regards,Jim Mohr-Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] Im Auftrag von Mohr JamesGesendet: Donnerstag, 24. November 2005 20:31An: Nagios-users@lists.sourceforge.net
Betreff: [Nagios-users] Nagios-db mysql module not workingHi All!I have Nagios 2.0b5, nagios-db 0.91 and MySQL 4.1.15, including MySQL-MAX 4.1.15. When Nagios starts I see the module is loaded("nagios-db: inserter locked into db") and the appropriate message when nagios shuts down. However, nothing is getting loaded into the database, and I do not see any error messages in /var/log/messages.
I have changed inserted.c to reflect the user/password of the database(nagios/nagios) and I can log inusing the mysql command and insert data directly into the tables. I have also tried changing the values (i.e
.nagios2/nagios) in the nebmodule_init function and it reports the error"nagios-db: inserter failed to connect to db". This convinces be that at least I am connecting to the database and the username/password are correct.
The nagios.cfg has this:event_broker_options=-1broker_module=/opt/INSTALL/nagios-db-0.91/neb/mysql/inserter.oAnd the path is correct.Near the top of the loadconfig function I added this:
write_to_logs_and_console("Inside ofloadconfig",NSLOG_INFO_MESSAGE,TRUE);As well as in a couple of other places.My assumption is that it should write an entry to /var/log/messages when this function is called. Perhaps the function is being called, but this line is not writing to where I expect. It seems that other than the init/deinit functions, nothing else is getting called.
I loaded another NEB module that has this:snprintf(temp_buffer,sizeof(temp_buffer)-1,"EVENT: %d MESSAGE:%s",event_type,tmp_service->plugin_output);write_to_all_logs(temp_buffer,NSLOG_INFO_MESSAGE);
These messages are getting writting to the /var/log/messages.I am at a loss as to where to look next. Any help is greatly appreaciated.Regards,Jim Mohr---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems?  Stop!  Download the new AJAX search engine that makes searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick___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---This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that