NetXMS Support Forum

English Support => General Support => Topic started by: netcaring on January 22, 2024, 11:57:46 AM

Title: NetXMS mail alert
Post by: netcaring on January 22, 2024, 11:57:46 AM
 is it possible to configure the sending of emails through the action with the message that automatically takes the machine name and the percentage used?

for example. I set the CPU usage alarm to 90% of all machines. In the control of 100 machines, x, y and z trigger the alarm. The mail action sends an email saying "machines x,y and z use 90% of the cpu" taking "x" "y" and "z" automatically via some parameter.

Another question.
Is possible to show system uptime in days, hours and minutes? when i select the data collection "System.UpTime" and set the "Units" to "uptime" the time showed does not correspond to the real time of ignition of the machine.

thanks
Title: Re: NetXMS mail alert
Post by: Filipp Sudanov on January 22, 2024, 01:52:02 PM
1) Yes, in action properties you can use e.g.

%n (%a) - %m

These macros will expand into NODE NAME (NODE IP ADDRESS) - MESSAGE TEXT FROM EVENT

Full list of macros is here: https://www.netxms.org/documentation/adminguide/event-processing.html#macros-for-event-processing

2) Pls show screenshots from DCI's properties (General and Transformation tabs). Right-click that DCI from the list and select "History" and share the screenshot of that. And also what is current value of uptime on that system.
Title: Re: NetXMS mail alert
Post by: netcaring on January 24, 2024, 04:30:11 PM
Thank you!!