Re: [Nagios-users] Nagios configuration for SAN monitoring

2009-02-23 Thread Jim Avery
2009/2/21 Sonika Sachdeva replyson...@gmail.com:
 Hello List,

 I have nagios basic configuration up and running as per the quickstart
 guide.
 I also have SNMP4nagios installed and running and the command works from the
 command line as follows

 /usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I addinf
 OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039
 FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039
 How do I integrate this command in nagios and start the logging and graphing
 functionality for brocade ports. can someone point me to a tutorial/guide.

 Has someone used nagios for SAN monitoring?


Using the check_brocade_port plugin is not much different to using
check_ping in your default Nagios install.  You need to define the
command, hosts and services in your Nagios configuration files.

If you find the supplied documentation difficult to follow, there are
various books available commercially.  A search for Nagios on the
website of your favourite bookstore will no doubt show a few to choose
from.  The book I used to recommend (Nagios by Wolfgang Barth
published by No Starch Press) gives an excellent introduction but
unless it's been updated it won't include a lot of useful stuff new in
version 3.  I'm not sure which book is the best today, but there was a
recent discussion on the topic here on the mailing list.

I use Nagios to receive SNMP traps from the SAN storage manager
software.  I use snmptt to receive the traps and NagTrap to store them
in a database and handle them in the web front-end.  I confess I
haven't tried using the check_brocade plugins.

http://www.snmptt.org/
http://nagtrap.org/doku.php/en:start

Cheers,

Jim

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 configuration for SAN monitoring

2009-02-23 Thread York, Bill, DoIT
Hi,

recently got these working and I'll tell you what I've learned.

i don't know if it's a bug in the brocade snmp implementation, but getsnmp and 
check_brocade_port both report an admin down port, even when the port is admin 
up and the cable is unplugged. this is a problem to me, but i just set up 
alarms for a WARNING.

i use cacti for RRD monitoring. i found PNP too cumbersome.

this command is different from the check_ping as it does not use the IP stack 
for availability. you have to set this up as a service and monitor accordingly. 
unfortunately, monitoring a FC SAN is much different from monitoring an 
Ethernet network. 

bill


-Original Message-
From: Jim Avery [mailto:j...@jimavery.me.uk]
Sent: Mon 2/23/2009 1:02 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios configuration for SAN monitoring
 
2009/2/21 Sonika Sachdeva replyson...@gmail.com:
 Hello List,

 I have nagios basic configuration up and running as per the quickstart
 guide.
 I also have SNMP4nagios installed and running and the command works from the
 command line as follows

 /usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I addinf
 OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039
 FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039
 How do I integrate this command in nagios and start the logging and graphing
 functionality for brocade ports. can someone point me to a tutorial/guide.

 Has someone used nagios for SAN monitoring?


Using the check_brocade_port plugin is not much different to using
check_ping in your default Nagios install.  You need to define the
command, hosts and services in your Nagios configuration files.

If you find the supplied documentation difficult to follow, there are
various books available commercially.  A search for Nagios on the
website of your favourite bookstore will no doubt show a few to choose
from.  The book I used to recommend (Nagios by Wolfgang Barth
published by No Starch Press) gives an excellent introduction but
unless it's been updated it won't include a lot of useful stuff new in
version 3.  I'm not sure which book is the best today, but there was a
recent discussion on the topic here on the mailing list.

I use Nagios to receive SNMP traps from the SAN storage manager
software.  I use snmptt to receive the traps and NagTrap to store them
in a database and handle them in the web front-end.  I confess I
haven't tried using the check_brocade plugins.

http://www.snmptt.org/
http://nagtrap.org/doku.php/en:start

Cheers,

Jim

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 inbound email has been scanned by the MessageLabs Email Security System.
__



Confidentiality Notice: This e-mail, including all attachments is for the sole 
use of the intended recipient(s) and may contain confidential and privileged 
information. Any unauthorized review, use, disclosure or distribution is 
prohibited unless specifically provided under the New Mexico Inspection of 
Public Records Act. If you are not the intended recipient, please contact the 
sender and destroy all copies of this message. -- This email has been scanned 
by the Sybari - Antigen Email System. 



--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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 configuration for SAN monitoring

2009-02-23 Thread Matthias Flacke

Jim Avery wrote:
 The book I used to recommend (Nagios by Wolfgang Barth
 published by No Starch Press) gives an excellent introduction but
 unless it's been updated it won't include a lot of useful stuff new in
 version 3.

Just as a side note: it is up2date. In October 2008 the 2nd edition
was released which fully covers Nagios 3 topics on now 720 pages. ;)

-Matthias

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 configuration for SAN monitoring

2009-02-23 Thread Edgar Matzinger
Hi Sonika,
 
2009/2/21 Sonika Sachdeva replyson...@gmail.com:
 Hello List,

 I have nagios basic configuration up and running as per the quickstart
 guide.
 I also have SNMP4nagios installed and running and the command works from the
 command line as follows

 /usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I addinf
 OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039
 FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039
 How do I integrate this command in nagios and start the logging and graphing
 functionality for brocade ports. can someone point me to a tutorial/guide.

 Has someone used nagios for SAN monitoring?
 
  I have, some time ago. It's relatively easy to set up nagios so that
it stores the perf. data in RRD databases. But the problem lies in the
fact that all the performance counters in the brocade switches roll
over after having read or written 4e9 4byte words. So you have to
read-out the counters for each port every 2 to 5 minutes (depending on
the speed of the interface: 1Gb, 2Gb, 4Gb) and if you have a 16-port
FC-switch you have to contact it every 15 seconds. Not a problem if you
have a single switch, but if you have more than, let's say, 8, this will
put a serious load on nagios.
 
To solve this issue, I wrote a little tool that contacts the FC switches
every minute, retrieves the perf. counters and stores this data directly
into RRD databases (for every port in each switch one RRD db). But every
few minutes it will pass the data through nagios (needed to satisfy
GroundWork).
 
If needed, I can dig up this tool.
 
HTH, cu l8r, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 



From: Jim Avery [mailto:j...@jimavery.me.uk]
Sent: Mon 2/23/2009 21:02
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios configuration for SAN monitoring



 


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 configuration for SAN monitoring

2009-02-23 Thread Sonika Sachdeva
Thanks very much All. Thanks Edgar.

Edgar,

I think that tool would be very helpful. I am planning to monitor the
traffic on 2 brocade switches (224 ports each / 7 blades each) So that would
put a lot of load on the server as you mentioned.

It would be quite helpful if you could forward that to me.

Thanks,
Sonika



On Mon, Feb 23, 2009 at 12:49 PM, Edgar Matzinger
edgar.matzin...@valid.nlwrote:

 Hi Sonika,

 2009/2/21 Sonika Sachdeva replyson...@gmail.com:
  Hello List,
 
  I have nagios basic configuration up and running as per the quickstart
  guide.
  I also have SNMP4nagios installed and running and the command works from
 the
  command line as follows
 
  /usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I
 addinf
  OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039
  FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039
  How do I integrate this command in nagios and start the logging and
 graphing
  functionality for brocade ports. can someone point me to a
 tutorial/guide.
 
  Has someone used nagios for SAN monitoring?

  I have, some time ago. It's relatively easy to set up nagios so that
 it stores the perf. data in RRD databases. But the problem lies in the
 fact that all the performance counters in the brocade switches roll
 over after having read or written 4e9 4byte words. So you have to
 read-out the counters for each port every 2 to 5 minutes (depending on
 the speed of the interface: 1Gb, 2Gb, 4Gb) and if you have a 16-port
 FC-switch you have to contact it every 15 seconds. Not a problem if you
 have a single switch, but if you have more than, let's say, 8, this will
 put a serious load on nagios.

 To solve this issue, I wrote a little tool that contacts the FC switches
 every minute, retrieves the perf. counters and stores this data directly
 into RRD databases (for every port in each switch one RRD db). But every
 few minutes it will pass the data through nagios (needed to satisfy
 GroundWork).

 If needed, I can dig up this tool.

 HTH, cu l8r, Edgar.
 --
|\  /| :: Addr: Valid Eindhoven B.V.
  /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
 /   || ::   Paradijslaan 36
 \  /|  /\| ::   5611 KN Eindhoven
  \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
 Disclaimer: Any comments, opinions made are mine, etc ...

 

 From: Jim Avery [mailto:j...@jimavery.me.uk]
 Sent: Mon 2/23/2009 21:02
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Nagios configuration for SAN monitoring







 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
 CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
 Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the source code:
 SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 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

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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 configuration for SAN monitoring

2009-02-20 Thread Sonika Sachdeva
Hello List,

I have nagios basic configuration up and running as per the quickstart
guide.
I also have SNMP4nagios installed and running and the command works from the
command line as follows

/usr/local/bin/check_brocade_port -H x.x.x.x -C mystring -T -i 5 -I addinf
OK - Port 5: I: 527243 kFCW, 1109528922 FCF; O: 1204391 kFCW, 2066880039
FCF|addinf;6;1;539897616;1233297068;1109528922;2066880039
How do I integrate this command in nagios and start the logging and graphing
functionality for brocade ports. can someone point me to a tutorial/guide.

Has someone used nagios for SAN monitoring?

Thanks,
Sonika
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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