Networker email notification and reporting features
we are using networker 7.4 SP1 and want to configure email notification.
How can this be done? can someone post a example command for smtpmail, because i cannot get it to work with exchange 2003. i want to send a savegroup completion (or failure) to a single email adress.
When sending notifications, are there any usfull variables we can include in the subject? or is it just a static message?
Also we are trying to figure out if it's possible to send reports on a scheduled base.
Is this possible?
These are really basic features and it really amazed me how limited these features are, from what i've seen so far.
x.x.x.x is ip address Server Exchange or SMTP. account1 is address mail 'to' where you what to send the notification. account 2 is address mail 'from' where you want to send the notification.
Networker notifications are event based. If you want to receive reports on schedule base you need to use the reporting commands/scripts and operating system to schedule it.
thanks for the examples, i'll try them soon. so just for my understanding, notifications are triggered by certain events and the subject field is the information you'll get out of it. correct?
Ok so it's possible to script reports. What is the name of the binary which i must call in my scripts?
I am not expert in script, but you could call in you script to nsradmin. I have seen in differents scripts belong to other sites, and they call to nsradmin.
You can script reports in two ways: - call NMC reports with NMC CLI reporting tool - have your own script which would be combination of nsradmin and mminfo to get exactly what you want
Additionally, EBA has these features too, but just for sake of reporting might be too much to ask.
fjsacristan
159 Posts
1536
0
Posted March 28th, 2008 09:00
You have two options:
Example 1:
smtpmail -s "Prueba alarmas" -h vls-mas-s0098 user
or
smtpmail -s "Prueba alarmas" user (override param ¿h).
Where:
-s is text for mail
-h is name server-machine SMTP or Exchange.
user is who receives the mail, address mail.
Example 2:
smtpmail -s "boostrap information" -h x.x.x.x account1@domain.com -f account2@domain.com
Where:
x.x.x.x is ip address Server Exchange or SMTP.
account1 is address mail 'to' where you what to send the notification.
account 2 is address mail 'from' where you want to send the notification.
Regards.
I hope help you.
Inma Bernabe.