cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3702
Views
0
Helpful
9
Replies

Syslog Analyzer e-mail problems

mhjacques
Community Member

Ciscoworks LMS 2.2 RME 3.5; syslog analyzer getting java errors in log when tring to send e-mail notifications.

us %SYS-

5-CONFIG_I: Configured from console by XXXXX on vty0 (XXX.XXX.X.XX)" -email_

ids mark.jacques@po.state.ct.us -subject test message "14 Mar 2005 09:09:40 EST

XXXXXXX.net.state.ct.us %SYS-5-CONFIG_I: Configured from console by XXXXXXXXX o

n vty0 (XXX.XXX.XX.XX)" -XXX.XXX.XX.XX error=123

at java.lang.Win32Process.create(Native Method)

at java.lang.Win32Process.<init>(Unknown Source)

at java.lang.Runtime.execInternal(Native Method)

at java.lang.Runtime.exec(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

at com.cisco.nm.sysloga.aam.ActionThread.run(ActionThread.java:120)

9 Replies 9

Not applicable

This could be an issue with the Java application

georg.tresselt
Level 4
Level 4

Did your set the SMTP server in RME general config?

Namol
Community Member

What does the command look like?

I had this problem once and I'm trying to remember how I fixed it, it had something to do with the exact syntax of the line I think.

Also remember that you need to use a relay - Ciscoworks itself is not a mail server, it needs one to send mail to. You need to configure blat and make sure it's pointing to a SMTP server.

Here is an example of a successful command line:

c:\.\BLAT222\full\blat.exe - -s "CiscoWorks Critical Paging" -body $M -to email@domain.com

mhjacques
Community Member

If I go to a DOS prompt on the Ciscoworks server and type out the string for the SampleEmail.pl script it works fine and I get a e-amil to my desktop.

Here's what I used....

E:\Program Files\cgi-bin\sysloga>perl sampleEmailScript.pl -text_message testmes

sage -email_ids mark.jacques@po.state.ct.us -subject testmessage -smtp 159.247.xx.xx

From what I remember, you needed to specify the path out explicitly in order for it to work decently. Below is the line I used:

C:\PROGRA~1\CSCOpx\bin\perl.exe C:\PROGRA~1\CSCOpx\cgi-bin\sysloga\sampleEmailScript.pl -text_message $M -email_ids ex@mple.com -subject $M -from ex@mple.com -smtp smtp.com

Hope that helps.

Thanks for the info. I am running Ciscoworks LMS 2.2 and there is no CSCOpx directory. Even on Cisco web site it refers to CSCOpx but it does not exist in this release. I will try your example.

If you don't have a CSCOpx directory, where did you install LMS ?

I took the defaults when I installed LMS 2.2. on a new Windows 2000 server.

I put it on the "e" drive. We do not put app's on the "c" drive. So it's in e:\Program Files.

We had an older version of CiscoWorks RME 3.3 which does have the CSCOpx directory.

Was I suppose to create the CSCOpx directory?

RME 3.5 and device Fault Manager 2.2 are working fine on the new box with the new directory structure.

CSCOpx is the default install dir. If you installed CW somewhere else you have to replace CSCOpx with your install directory. In prinicipal, that shouldn't be a problem although I'm not sure if CSCOpx is hardcoded in some scripts.