UNSOLVED

AAdedipe

updated

17 years ago

A

AAdedipe

44 Posts

0

1551

January 5th, 2010 12:00

SNMP Space Usage Alerts from Celerra Manager

Hello All,

I'm working on implementing space usage alerts via SNMP at our site I have came across something that has got me stumped. In my testing, I'm able to send an SNMP test event using the following command:

/nas/sbin/nas_snmptrap /nas/site/trap.cfg -m /nas/sys/emccelerra.mib -r 1 -f 64 -i 5 -s 7 -d "Trap Test"

But when I set the alert via the Celerra Manager Web GUI, the event never gets sent via SNMP. In order  to better troubleshoot this issue, I added my my own email address to the list of recipeint event recievers (in addition to the SNMP recievers) and I get an email alert but the SNMP trap still doesn't get sent. I'm running DART 5.6.42, and  can't find anything that on Powerlink that is acurately describes this is a problem.

Does anyone have any ideas?

TIA

Ayo

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    425

    0

    Posted January 6th, 2010 04:00

    I would suggest to start with the manual to see if you have it properly configured

    then take a look at the messages files and server_log

  • AAdedipe

    44 Posts

    425

    0

    Posted January 6th, 2010 07:00

    Thanks for the helpful hints.

    I have been using the Configuring Celerra Events and Notifications manual. That is where I got the syntax to send the test event, Its just troublesome that the events that are created through the GUI aren't being sent but the manually created events are.

    I'll now look though the following to get some insight.

    nas_logviewer /nas/log/sys_log

    cat /var/log/messages

    nas_emailuser -info

    Thanks,

    Ayo

  • AAdedipe

    44 Posts

    425

    0

    Posted January 8th, 2010 09:00

    I ended up modifying /etc/init.d/snmptrapd so that it dumps its logs to an alertnate location. Now snmptrapd command line run options are as follows.

    [nasadmin@TOWNAS2CS ~]$ ps -ef | grep snmp
    nasadmin  4286  4134  0 11:46 pts/1    00:00:00 grep snmp
    root     27614     1  0 Jan07 ?        00:00:00 /usr/sbin/snmptrapd -Lsd -Lf /nas/var/log/my_eventlog_messages -p /var/run/snmptrapd.pid

    When I set an alert via Celerra Manager I enter the SNMP Trap destination as well as an email address for testing. The problem is that I recieve the email alert but the SNMP trap never gets sent.

    [root@TOWNAS2CS init.d]# tail -f /nas/var/log/my_eventlog_messages
    2010-01-07 17:08:26 NET-SNMP version 5.1.2 Started.

    What else could cause the Celerra to not send SNMP traps? I'm at wits ends and I've searched through the "Configuring Celerra Events and Notifications" documentation and I don't see anything that can offer meaningful help.

    TIA

  • ral67_xyz

    147 Posts

    425

    0

    Posted January 8th, 2010 10:00

    I would suggest to open a service request
  • AAdedipe

    44 Posts

    425

    0

    Posted January 14th, 2010 09:00

    It turns out there is a bug with all DART less than 5.6.45 where the trap events are created with the wrong facility ID when they are created through the GUI. The issue is documented in emc217192, I don't think its available publicly but here is the work around.

    Cause      DART 5.6 introduced new disposition IDs for some events. For instance, the old IDs 201, 202 and 203 are now replaced by IDs 210, 211 and 222, respectively.
    When using Celerra Manager GUI to configure SNMP traps, Jserver still uses the old disposition IDs to create the traps. As these IDs are no longer used, the traps configured this way will never fire

    Fix        Fix is in 5.6.45 and above

    Fix        Workaround:

    A workaround is to manually add a file based on the /nas/jserver/event_config/events.cfg file - please note that any changes to notifications in the Celerra Manager GUI will reproduce the events.cfg file again.
    It is therefore recommended not to make changes to notification configurations in the GUI once the workaround is applied while the permanent fix is pending.
    The example below assumes that an SNMP trap was only configured only a file system size threshold (old ID 201, new ID 210).
    If other or additional SNMP traps were configured, they will need to be modified accordingly (see Note below for details on which ID has been replaced by which new ID).

    Hope this helps other people.

  • ral67_xyz

    147 Posts

    425

    0

    Posted January 14th, 2010 10:00

    thanks very much for letting us know

    most people here never take the time to report back how their issue was solved.

    regards

    Rainer