Truncate variable

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pgh2011
Posts: 11
Joined: Tue Feb 28, 2017 7:36 am

Truncate variable

Post by pgh2011 »

Hi,

Is it possible to truncate a variable in the e-mail message with like max 4 chars or show only the first of last 4 chars from a variable?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Truncate variable

Post by tmcdonald »

If you create a custom notification script yes, but built-in that is not something there is an option for. It's pretty specific to have been included.
Former Nagios employee
Locked