cancel
Showing results for 
Search instead for 
Did you mean: 

VCS notifier/hanotify

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

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

1 ACCEPTED SOLUTION

Accepted Solutions

Gaurav_S
Moderator
Moderator
   VIP    Certified

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

View solution in original post

6 REPLIES 6

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

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.

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

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
Moderator
Moderator
Partner    VIP    Accredited Certified

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!

Gaurav_S
Moderator
Moderator
   VIP    Certified

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

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

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
Moderator
Moderator
Partner    VIP    Accredited Certified

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