No events for Brocade switch in the Health Status view
Comments
-
Hi,
there are presend only events with severity level error or critical.
We use these 3 snmp requests:swEventTimeInfo:
snmpwalk -v 1 -c public x.x.x.x 1.3.6.1.4.1.1588.2.1.1.1.8.5.1.2
swEventLevel:
snmpwalk -v 1 -c public x.x.x.x 1.3.6.1.4.1.1588.2.1.1.1.8.5.1.3
swEventDescr
snmpwalk -v 1 -c public x.x.x.x 1.3.6.1.4.1.1588.2.1.1.1.8.5.1.5
You can force to show all events there by this variable:cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
echo "SAN_ALL_EVENTS=1" >>etc/.magic
Wait at least 1 hour after then. Events are collected only once per hour and it can take some time if there are too many events. -
Thanks for the quick answer. Is it possible to get severity level warning, error and critical? Or the only option to have more then error and critical is to set the SAN_ALL_EVENTS=1?
-
Hi,
this possibility has been added. Use the following file.Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)-rwxr-xr-x 1 stor2rrd stor2rrd 123578 Apr 23 08:59 sanperf.plIf your web browser gunzips it automatically then just rename it: mv sanperf.pl.gz sanperf.plAssure that file size is the same as on above example
It's necessary to set this variable:cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
echo "SAN_ALL_EVENTS=warning" >>etc/.magic
Wait at least 1 hour after then. -
Hi,
one more little think. File "etc/.magic" has to be readable for apache user.
So set rights to 644 for this file:cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
chmod 644 etc/.magic
-
Many thanks for that "patch"! No Warning yet so I cannot say if work or not. I will keep you post.
-
Hi,It's look like it's not working. I don' see warning events in health check. Here is what I received that should have generated a entry:2020-04-30T13:44:48-04:00 QFTORDCXU01 raslogd: 2020/04/30-13:44:48, [MAPS-1003], 217732, SLOT 5 | WWN 10:00:50:eb:1a:5d:ca:00 | FID 128, WARNING, QFTORDCXU01, Switch, Condition=SWITCH(FLOGI/min>=5), Current Value:[FLOGI, 6 Logins], RuleName=SWITCH_FLOGI_log, Dashboard Category=Fabric State Changes.
-
Hi,
it works in out lab.
Can you check if your switch provide events with severity level WARNING through snmp?snmpwalk -v 1 -c public <switch_IP> 1.3.6.1.4.1.1588.2.1.1.1.8.5.1.3 | grep "INTEGER: 3" | wc -l
swEventLevel - 1.3.6.1.4.1.1588.2.1.1.1.8.5.1.3The severity level of this event entry.Possible values are:• critical (1)• error (2)• warning (3)• informational (4)• debug (5) -
Hi,This is the result of your command:root@plgesmon02[/root]# snmpwalk -v 1 -c public 10.254.219.133 1.3.6.1.4.1.1588.2.1.1.1.8.5.1.3 | grep "INTEGER: 3" | wc -l
953
-
Is it a configure issue on my side?
-
Hi,
outputs pls.cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
ls -l bin/sanperf.pl
cat etc/.magic -
[stor2rrd@plgestad4d02 stor2rrd]$ ls -l bin/sanperf.pl
-rwxr-xr-x. 1 stor2rrd stor2rrd 118415 Mar 5 14:23 bin/sanperf.pl
[stor2rrd@plgestad4d02 stor2rrd]$ cd etc
[stor2rrd@plgestad4d02 etc]$
-
Hi,
it cannot work, because you didn't follow steps i mentioned above...
1. deploy this file:Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)-rwxr-xr-x 1 stor2rrd stor2rrd 123578 Apr 23 08:59 sanperf.plIf your web browser gunzips it automatically then just rename it: mv sanperf.pl.gz sanperf.plAssure that file size is the same as on above example
2. set this variable:cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
echo "SAN_ALL_EVENTS=warning" >>etc/.magic
chmod 644 etc/.magic
3. wait about 2 hours, warning events should appear then -
It's look like I put it in /home/stor2rrd/stor2rrd when my working directory is under /opt/stor2rrd
-
By using the "good" working dir:[stor2rrd@plgestad4d02 stor2rrd]$ pwd
/opt/stor2rrd[stor2rrd@plgestad4d02 stor2rrd]$ ls -ltr ./bin/sanperf.pl
-rwxr-xr-x. 1 stor2rrd stor2rrd 123578 May 12 17:18 ./bin/sanperf.pl[stor2rrd@plgestad4d02 stor2rrd]$ ls -ltr etc/.magic
-rw-r--r--. 1 stor2rrd stor2rrd 17 May 12 17:19 etc/.magic[stor2rrd@plgestad4d02 stor2rrd]$ cat etc/.magic
SAN_ALL_EVENTS=1
-
Hi,
One more correction, in etc/.magic must be "export" before SAN_ALL_EVENTS.
export SAN_ALL_EVENTS=1 -
root@plgestad4d02[/opt/stor2rrd]# cat ./etc/.magic
export SAN_ALL_EVENTS=1So to be effective now, do I need to restart?
-
FYI I did not restart or do anything else that your procedure and it's working now.I can see all events.Is it possible to chose the minimum level? Like warning and more?
-
Hi,
use the following variable instead of "SAN_ALL_EVENTS" in etc/.magic.
Then only events with severity critical, error and warning will be presented.
export SAN_ALL_EVENTS=warning
Howdy, Stranger!
Categories
- 1.6K All Categories
- 43 XORMON NG
- 25 XORMON
- 152 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle