Actions and Emails

Started by Rabid, October 19, 2011, 10:26:22 PM

Previous topic - Next topic

Rabid

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.

Victor Kirhenshtein

Hi!

What NetXMS version you are using?

Best regards,
Victor

Rabid

sorry forgot that info.

Agents are 1.1.4
Server is 1.0.12

naseer

Plz explain in detail
best regar

naseer

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