NetXMS Support Forum

English Support => General Support => Topic started by: Rabid on October 19, 2011, 10:26:22 PM

Title: Actions and Emails
Post by: Rabid on October 19, 2011, 10:26:22 PM
I have two actions that are set to email me, one upon failure and one on success.

The email subject for the failure works correct.  The subject line is as follows:
LOW MEMORY:  On %t, total ram being used is %4%% on %n.

This returns LOW MEMORY: On today'sdate, total ram being used is 99% on mynode.


The email subject for the success doesnt work so well.  The subject line is as follows:
MEMORY GOOD:  On %t, total ram being used is %4%% on %n.

This returns MEMORY GOOD: On today'sdate, total ram being used is % on mynode.


why does %4 not work on success?  On success I would like to know what the current value is.
Title: Re: Actions and Emails
Post by: Victor Kirhenshtein on October 20, 2011, 12:47:49 PM
Hi!

What NetXMS version you are using?

Best regards,
Victor
Title: Re: Actions and Emails
Post by: Rabid on October 20, 2011, 02:38:29 PM
sorry forgot that info.

Agents are 1.1.4
Server is 1.0.12
Title: Re: Actions and Emails
Post by: naseer on October 24, 2011, 08:15:13 AM
Plz explain in detail
best regar
Title: Re: Actions and Emails
Post by: naseer on October 24, 2011, 03:18:59 PM
Hi I am try to compile netxms-1.0.12 in vc 6 in window xp service pack 2 and facing these problems
1 fatal error C1083: Cannot open include file: 'winevt.h': No such file or directory
Error executing cl.exe.
First I installes Microsoft SDK 2003   and also try  Microsoft Visual Studio 2008 SDK but unable to solved the problem.  plz indicate version of sdk.
3 fatal error C1083: Cannot open include file: 'Scintilla.h': No such file or directory
When I install scintilla  and try to compile .
These errors occur

C:\Net XMS project\software\scintilla\lexlib\Accessor.h(23) : error C2504: 'LexAccessor' : base class undefined
C:\Net XMS project\software\scintilla\lexlib\Accessor.h(26) : error C2629: unexpected 'class Accessor ('
C:\Net XMS project\software\scintilla\lexlib\Accessor.h(26) : error C2238: unexpected token(s) preceding ';'
C:\NET XMS PROJECT\SOFTWARE\SCINTILLA\INCLUDE\WindowAccessor.h(15) : error C2079: 'WindowAccessor' uses undefined class 'SCILEXER_EXPORTABLE'

3  Compiling .\parser.y
'bison' is not recognized as an internal or external command,
operable program or batch file.
Error executing c:\windows.0\system32\cmd.exe.
PlZ tell me how it can besolved
Also tell which satiable version of  netXms
Best Regard