Subject is
Body is** PROBLEM Service Alert: SERVERNAME/D:\ Drive Space is WARNING **
***** Nagios *****
Notification Type: PROBLEM
Service: D:\ Drive Space
Host: SERVERNAME
Address: IP ADDRESS
State: WARNING
Date/Time: Mon Nov 14 00:08:31 IST 2022
Additional Info:
d:\ - total: 500.00 Gb - used: 403.15 Gb (81%) - free 96.85 Gb (19%)
We have a new ticketing system, in which we need to parse the email content. Hence, I need something like this below:
can anyone help on how to do this?Notification Type: PROBLEM
Service: D:\ Drive Space
Host: SERVERNAME
Address: IP ADDRESS
State: WARNING
Metric Value: 19%
Date/Time: Mon Nov 14 00:08:31 IST 2022
Additional Info:
d:\ - total: 500.00 Gb - used: 403.15 Gb (81%) - free 96.85 Gb (19%)