Video Screencast Help

VCS notifier/hanotify

Created: 14 Nov 2010 • Updated: 16 Nov 2010 | 6 comments
Riaan.Badenhorst's picture
This issue has been solved. See solution.

Hi,

 

Is there any way that we can configure a username and password for the notifier? Or would this require creating custom triggers and scripts?

 

My client is implementing authentication for SMTP, so anonymous smtp mailing as done by the notifier wont be allowed anymore.

 

SFWHA 5.1 SP2

Windows 2003 64bit SP2

 

Thanks

Comments 6 CommentsJump to latest comment

Marianne's picture

SmtpFromPath is an optional attribute for NotifierMngr.

Extract from Budled Agent Guide:

This attribute must be set to a valid email address if a custom email address is desired for the FROM: field in the email sent by notifier.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Riaan.Badenhorst's picture

Hi M,

 

I'm using that now but apparently is not authenticated. VCS never passes and username or password details. I think that is only so the mail comes from some id you've configured instead of "notifier"??

 

Dont really know

Marianne's picture

Are you getting any errors?

I was under the impression that "valid email address" would at least validate the 'from' address with the mail server...

I have tried a Google search, but could only find 2 TN's for VCS 2.0!

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Gaurav Sangamnerkar's picture

From VCS Bundled agents guide (latest 5.1), it is clear that there is no attribute (even optional) for providing username / password to notifier agent.

Here is a type definition

type NotifierMngr (
static i18nstr ArgList[] = {MessageQueue, NotifierListeningPort,
SnmpdTrapPort, SnmpCommunity, SnmpConsoles, SmtpServer,
SmtpServerVrfyOff, SmtpServerTimeout, SmtpReturnPath,
SmtpFromPath, SmtpRecipients }
int MessageQueue = 30
int NotifierListeningPort = 14144
int SnmpdTrapPort = 162
str SnmpCommunity = public
str SnmpConsoles{}
str SmtpServer
int SmtpServerTimeout
str SmtpReturnPath
str SmtpFromPath
str SmtpRecipients{}
boolean SmtpServerVrfyOff
)

From VCS admin guide, hanotify command example also has no switch to give username/password, here is e.g command from VCS admin guide

hanotify -i 1.3.6.1.4.1.1302.3.8.10.2.8.0.10 -l Warning -n
agentres -T 7 -t "custom agent" -o 4 -S sys1 -L mv -p
sys2 -P mv -c MyAgent -C 7 -O johndoe -m "Custom message"

 

I believe you have new idea to submit. :-)

 

Gaurav

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

SOLUTION
Riaan.Badenhorst's picture

Thanks for all the feedback, I didn't have high hopes for this being possible. My client will need to make a choice, notifications, or security. Since its a bank, i think security might come out on top :)

 

Gonna marks Gaurav's post as the (not) solution, since it most clearly indicates its not possible :)

 

Thanks again

Marianne's picture

I echo Gaurav's suggestion - we will ALL vote!

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links