mbenkmann / limux-gosa

GOsa² is a web based adminstration tool for user accounts, groups, servers, clients, and many other things.
18 stars 5 forks source link

Implement gosa_ping #79

Closed mbenkmann closed 9 years ago

mbenkmann commented 9 years ago

From mux2...@gmail.com on March 13, 2013 18:05:08

Implement gosa_ping. This is a strange beast. I have the following logs:

FROM 127.0.0.1

gosa_ping
GOSA00:0c:29:50:a3:52 TO 172.16.2.83:20081 ( the server where 00:0c:29:50:a3:52 is registered)
gosa_ping
172.16.2.143:20081172.16.2.146:20083172.16.2.143:20081,2256
and this is where it ends of course because vts-susi doesn't know what to do. _Original issue: http://code.google.com/p/go-susi/issues/detail?id=79_
mbenkmann commented 9 years ago

From mux2...@gmail.com on April 26, 2013 00:01:33

API ideas:

mbenkmann commented 9 years ago

From mux2...@gmail.com on May 21, 2013 03:27:49

Not important. Moved to MS 6

Labels: -Milestone-4 Milestone-6

mbenkmann commented 9 years ago

From mux2...@gmail.com on August 08, 2013 04:02:58

GOsa uses this to determine if a system is on or off and changes the dropdown in a system based on that. See e.g. plugins/admin/systems/class_servGeneric.inc:206:

/* Assign status */ if (gosaSupportDaemon::ping($this->netConfigDNS->macAddress)){ $smarty->assign("actions", setpost( array( "halt" => ("Switch off"), "reboot" => ("Reboot"), "update" => ("Software update"), "reinstall" => ("Reinstall"), "rescan" => ("Rescan hardware"), "localboot" => _("Force local boot")))); } else { $smarty->assign("actions", setpost( array( "wakeup" => ("Wake up"), "reinstall" => ("Reinstall"), "update" => ("System update"), "localboot" => _("Force local boot")))); }

Labels: -Priority-Want Priority-Must

mbenkmann commented 9 years ago

From mux2...@gmail.com on August 16, 2013 04:56:08

Implemented in be51e15602d7. The chosen implementation does not use the described API. It is much simpler and does not actually wait for a client reply and instead just checks if the client port is reachable.

Status: Done