Wanted to share my quick fix to be able to customize the Discover Now button inside a device:
Our problem is that we use dots in our hostnames, vil1.ds1 would become a new unit named vil1when issuing a discover now to check if the defgen worked fine.
Adding -F omitts this problem in the cronjob, but how to edit this button? Nowhere in the GUI does this seem possible.
Luckily we can fix this with some easy editing:
On row 55 in the file 'nedi/html/System-NeDi.php' add your options:
Example:
Change:
}elseif($mde == "d"){
$arg = '';
To:
}elseif($mde == "d"){
$arg = 'F';
Hopefully we can get this editable via GUI in a future release?