This post is more than 5 years old
2 Intern
•
261 Posts
0
6573
November 17th, 2010 06:00
Running a report in control station
hello All..I am new to generating reports on celerra and recently the customer has asked for an automation Health check to be carried out in our celerra environment. It needs to generate the report to my Email ID after checking the devices.Also the utilization report.
Here's the format for utilization :
id = 3
name = clar_r5_performance
used_mb = 23476466
avail_mb = 6568607
total_mb = 30045073
potential_mb = 0
And the format of health check report sent to me..
Component Type Status System ID
Battery A Battery OK CLARiiON CX700 APM000
Battery B Battery OK LARiiON CX700 APM0004
Celerra NS700G APM00 Celerra OK Celerra NS700G APM00044
CLARiiON CX700 APM00 CLARiiON OK CLARiiON CX700 APM00044
Control Station 0 Control Station OK Celerra NS700G APM0004
DME 0 Data Mover 2 Data Mover OK Celerra NS700G APM000446
DME 0 Data Mover 2 Personality Personality OK Celerra NS700G APM00044602
DME 0 Data Mover 2 Personality SFP 1 SFP OK Celerra NS700G APM000446
DME 0 Data Mover 2 Personality SFP 2 SFP OK Celerra NS700G APM000446
DME 0 Data Mover 3 Data Mover OK Celerra NS700G APM0004460
DME 0 Data Mover 3 Personalit Personality OK Celerra NS700G APM00044602
DME 0 Data Mover 3 Personality SFP 1 SFP OK Celerra NS700G APM00044
DME 0 Data Mover 3 Personality SFP 2 SFP OK Celerra NS700G APM000446
DME 0 Fan A Fan OK Celerra NS700G APM000446
DME 0 Fan B Fan OK Celerra NS700G APM0004460
DME 0 Fan C Fan OK Celerra NS700G APM000446029
DME 0 Power Supply A Power Supply OK Celerra NS700G APM0004
DME 0 Power Supply B Power Supply OK Celerra NS700G APM000446
DME 1 Data Mover 4 Data Mover OK Celerra NS700G APM0004460
DME 1 Data Mover 4 Personality Personality OK Celerra NS700G APM000446
DME 1 Data Mover 4 Personality SFP 1 SFP OK Celerra NS700G APM00044602
How do i set it in control station to get the report ?
Pointers are welcome.
I will very much appreciate if you could guide me on how i can configure on celerra the health check report ( If any one knows a better way to do so please share the same with me).
Note: SCOM is not supported at present. So i can't integrate it with SCOM .
Thanks for reading !
dynamox
9 Legend
•
20.4K Posts
0
November 25th, 2010 20:00
i assume you specified correct time per crontab syntax, try something like this (one line, no wrapping) :
0 14 * * * NAS_DB=/nas /nas/bin/nas_pool -size -a | mail -s report user@example.com >> /home/nasadmin/content.log 2>&1
Peter_EMC
674 Posts
1
November 17th, 2010 07:00
configuring sendmail and using the mail utility
Rainer_EMC
4 Operator
•
8.6K Posts
1
November 17th, 2010 08:00
See https://community.emc.com/message/379664#379664 for Email config
sebbyr
99 Posts
1
November 19th, 2010 10:00
Please refer to the following document.
Thanks.
Sebby Robles
1 Attachment
CgEvnNot.pdf
deeppat
2 Intern
•
261 Posts
0
November 21st, 2010 21:00
If i have to see the basic requirements for configuring the Celerra for for EMAIL utility( Outlook express) , what 'd that be?
1) Adding the IP of celerra to the exchange server.
2)opening port 25 for mail so that celerra communicate with the exchange server.
Is there anyother factor i need to consider?
Please suggest , as i am still not able to configure the Email utility.
Rainer_EMC
4 Operator
•
8.6K Posts
0
November 22nd, 2010 06:00
Then you first need to configure control station DNS as explained in the Events and Notification manual
deeppat
2 Intern
•
261 Posts
0
November 22nd, 2010 06:00
Rainer, This is the output i 'm getting:
nasadmin@usdadwspul00 ~]$ mail -v memoved@mail.com
Subject: Test
Test This
Cc:XXX.com: Name server timeout
removed@mail.com... Transient parse error -- message queued for future delivery
removed@mail.com... queued
What could be the reason?
Rainer_EMC
4 Operator
•
8.6K Posts
0
November 22nd, 2010 06:00
what does "unable to configure" mean ?
If you do a "Mail -v " from the Celerra control station - what messages do you get ?
deeppat
2 Intern
•
261 Posts
0
November 24th, 2010 10:00
Thank you all for the response!
I am getting the mails now using mail -v userid@example.com
Can somebody let me know if I can get the report automated .
I want capacity utilization report to be sent to my ID (nas_pool -size -a ) at 2 in the afternoon.
I did try going to crontab -e
" nas_pool -size -a | mail -s report user@example.com "
and the saving it by hitting escape and then wq (write /quit)
Still not getting the mail. Is there a different way to schedule this ? please suggest !
Rainer_EMC
4 Operator
•
8.6K Posts
0
November 24th, 2010 12:00
look into the root mailbox as to why it failed
most likely you were using nas_ commands without the proper env
deeppat
2 Intern
•
261 Posts
1
November 26th, 2010 10:00
Dynamox,
thanks for your help.It is working for me now.
You really have solution for every thing .I am Thankful to you.. You 're a Genius !..
Thanks a TON again!!!
dynamox
9 Legend
•
20.4K Posts
0
November 26th, 2010 11:00
hehe
, i wish i had a solution for everything ..especially how to guess those lottery numbers. Glad to help.
Rainer_EMC
4 Operator
•
8.6K Posts
0
November 28th, 2010 12:00
if you would then you could also predict deduplication ratio's :-)
saranraj456
1 Rookie
•
108 Posts
0
April 5th, 2018 22:00
Sorry for replying to old thread , do we have an option to use attachment in sendmail command ?