[racktables-users] Re: mail_expirations.php / additional infos
- From: Denis Ovsienko <denis@xxxxxxxxxxxxx>
- To: <racktables-users@xxxxxxxxxxxxx>
- Date: Wed, 01 Feb 2017 14:56:46 +0000
---- On Wed, 01 Feb 2017 06:53:33 +0000 Dennis Breuer<DBreuer@xxxxxxxx> wrote
----
Hey racktable users,
is it possible to change the mail_expirations.php to get addition infos like
Hypervisor or FQDN?
https://github.com/RackTables/racktables-contribs/blob/master/mail_expirations.php
To modify the output format look for the sprintf() in the middle of the code
(FQDN is as easy as $attributes[3]['a_value'], hypervisor should not be
difficult too).
Not quite related, but I have just updated that script to use the main
$expirations array from RackTables. If you look at its default structure in
functions.php (the number is the attribute ID), you will see how to amend that
array in a local .php file in plugins/ if needed.
--
Denis Ovsienko
Other related posts: