Device management server, control method for device management server, and storage medium
A device management server configured to perform communications with a device that is a management target via an agent tests communications with a web service server that has been incorporated into the device management server and that corresponds to a service that is provided by the device management server, confirms a response thereto, and stores first confirmation results; receives and stores second confirmation results from the agent in which communications with a web service server that has been incorporated into the agent and that relates to a service that is provided by the device management server have been tested and a response thereto has been confirmed; provides the first confirmation results; and provides the second confirmation results.
1 . A device management server configured to perform communications with a network device that is a management target via an agent device, the device management server comprising:
a memory storing instructions; and
a processor executing the instructions causing the device management server to:
store first confirmation results indicating that first communications with a first web service server incorporated into the device management server, the first web service server corresponding to a service provided by the device management server, have been tested and that a first response to the first communications has been confirmed;
receive and store, from the agent device, second confirmation results indicating that second communications with a second web service server incorporated into the agent device, the second web service server relating to the service provided by the device management server, have been tested and a second response to the second communications has been confirmed;
provide the first confirmation results; and
provide the second confirmation results.
2 . The device management server according to claim 1 , wherein the second web service server incorporated into the agent device includes a reverse proxy.
3 . The device management server according to claim 2 , wherein a service provided by the device management server that uses the reverse proxy includes a service for updating firmware of the network device that is the management target via the agent device.
4 . The device management server according to claim 2 , wherein the second confirmation results further include results in which a third response from the first web service server has been confirmed from when the agent device has tested third communications with the first web service server incorporated into the device management server and the first web service server receiving a request from the agent device via the reverse proxy.
5 . The device management server according to claim 4 , wherein the reverse proxy has a dedicated URI for testing the third communications, and in a case in which the request has been received for the dedicated URI from the agent device, the reverse proxy returns a fourth response to the agent device without transferring the request to the first web service server incorporated into the device management server.
6 . The device management server according to claim 1 , wherein during testing communications relating to the first web service incorporated into the device management server and the second web service server incorporated into the agent device, a timeout value for connection is set so as to be shorter than a default timeout value.
7 . The device management server according to claim 1 ,
wherein the device management server and the network device do not directly communicate.
8 . The device management server according to claim 1 ,
wherein the agent device transfers the service provided by the device management server to the network device.
9 . A control method for a device management server configured to perform communications with a network device that is a management target via an agent device, the method comprising:
testing first communications with a first web service server incorporated into the device management server, the first web service server corresponding to a service provided by the device management server, confirming a first response to the first communications, and storing first confirmation results;
receiving and storing, from the agent device, second confirmation results indicating that second communications with a second web service server incorporated into the agent device, the second web service server relating to the service provided by the device management server, have been tested and a second response to the second communications has been confirmed;
providing the first confirmation results; and
providing the second confirmation results.
10 . A non-transitory storage medium storing a control program of a device management server configured to perform communications with a network device that is a management target via an agent device, the control program causing a computer to perform each step of a control method of the device management server, the method comprising:
testing first communications with a first web service server incorporated into the device management server, the first web service server corresponding to a service provided by the device management server, confirming a first response to the first communications, and storing first confirmation results;
receiving and storing, from the agent device, second confirmation results indicating that second communications with a second web service server incorporated into the agent device, the second web service server relating to the service provided by the device management server, have been tested and a second response to the second communications has been confirmed;
providing the first confirmation results; and
providing the second confirmation results.