Nagios configuration for SAN monitoring

Edgar Matzinger Edgar.Matzinger at valid.nl
Mon Feb 23 21:49:24 CET 2009


Hi Sonika,
 
2009/2/21 Sonika Sachdeva <replysonika at 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:jim at jimavery.me.uk]
Sent: Mon 2/23/2009 21:02
To: nagios-users at 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 at 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





More information about the Users mailing list