10-06-2003 03:54 AM - edited 03-02-2019 10:48 AM
I have edited all the neccessary configs to receive syslog messages by email. In the %NMSROOT% file, I can see the message configured under %SYS-5-CONFIG_I as a test and done the banner testing.
he following has also been edited appropriately
drive: \%NMSROOT%\cgi-bin\sysloga\sampleEmailScript.pl -text_message $M -email_ids your e-mail address -subject "testing" -from your name -smtp your smtp server name
But it is still not working. I do not receive email. What else can I do or check. ?
Thanks
10-07-2003 05:42 AM
Hi,
try with
drive:\%NMSROOT%\bin\perl drive:\%NMSROOT%\cgi-bin\sysloga\sampleEmailScript.pl.
Check the SyslogAnalyzer.log file!
Andrea.
10-08-2003 05:55 AM
Thanks
No this did not work. Tried running the command from the command line but it came up with the error
Cannot locate CRM.pm in @INC (@INC contains: .) at SampleEmailScript.pl line 32.
Any ideas why?
Thanks
10-09-2003 01:45 AM
Hi,
CRM is an external object from perl library used by SampleEmailScript.pl.
Please verify your system environment: NMSROOT=C:\CISCOW~1\CSCOpx
with this into your action
c:\CISCOW~1\CSCOpx\bin\perl c:\CISCOW~1\CSCOpx\cgi-bin\sysloga\ConfigChange.pl -text_message $M -email_ids your_mail_add -subject "subject..." -smtp mail_server.
You can try this from command line.
Andrea.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide