Hi Gehovani!
I had the same issue, but I could not remove the "dhcp" flag from the configuration with the standard command. Even the deletion of all time settings with "impctl platform time delete -all" didn't lead to a successful end. So, I did the hard way:
Attention it is not recommended to edit the bootstrap.xml. You should verify this with the support, if you want to.
1. impctl platform time delete --all
2. open the "/opt/SecureSphere/etc/bootstrap.xml" and search for "platform" (vi/m should give you the power) and change:
from:
<platform>
....
<time>
<dhcp>
true</dhcp>
<servers>
</server>
</servers>
<time-zone>Europe/Berlin</time-zone>
</time>
....
to:
<platform>
....
<time>
<dhcp>
false</dhcp>
<servers>
</server>
</servers>
<time-zone>Europe/Berlin</time-zone>
</time>
3. Exit the editor.
After that you will see that the display of "configured using dhcp" will disappear.
Use "impcfg" again to set your server(s). Apply the settings and wait for service restart.
best regards
Stefan
------------------------------
Stefan Behrends
Senior Specialist IT-Security / Data Analytics & Forensics
Mitte
------------------------------
Original Message:
Sent: 06-13-2022 10:27
From: Gehovani Flores
Subject: Configure NTP servers manually into MX and GW
------------------------------
Gehovani Flores
Ingeniero
Antiguo Cuscatlan
Original Message:
Sent: 06-13-2022 03:43
From: Olgerta Prendi
Subject: Configure NTP servers manually into MX and GW
Hello Gehovani,
I don't know if you read the article below and could help you:
https://docs.imperva.com/bundle/v14.7-dam-administration-guide/page/7295.htm
Regards,
Gerta
------------------------------
Olgerta Prendi
Cyber Security Specialist
S&T Albania
Tirana
Original Message:
Sent: 06-12-2022 20:55
From: Gehovani Flores
Subject: Configure NTP servers manually into MX and GW
Hello
looking the command to manually add NTP servers to my MX and GW. Why i trying to do this with CLI? Well the Time servers configuration (NTP) option doesn't appear in the options menu. Instead appears a message "NTP DHCP globaly" or something related.
found this command
impctl platform time config --server=<NTP-server>
I tried differente combinations
impctl platform time config --server=<192.168.100.20>
impctl platform time config --server=<192.168.100.20/24>
But didn't work. let me know any solution
Thank you
#AllImperva
------------------------------
Gehovani Flores
Ingeniero
Antiguo Cuscatlan
------------------------------