[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

8.1 The ggz-cmd command line utility

Admins are allowed to broadcast messages to all rooms via the /wall command. To do that from the command line, for example to announce that a server will go down in a few minutes, the utility ggz-cmd can be used. It is available from the utils/cmd-client directory.

An example on how to use ggz-cmd on a server (the specified user must be registered as administrator, using ggzduedit, see below):

ggz-cmd localhost admin adminpassword announce \

"Attention, server reboot in five minutes"

Also, when running via cron, it can be used to report the status of the server. The 'checkonline' command has been invented for this task.

ggz-cmd localhost admin adminpassword checkonline

Administrators running Nagios to check the availability of hosts and services might want to use the checkonline method as well - this is why checknagios has been invented.

ggz-cmd localhost guest guestpassword checknagios



This document was generated by Abel Cheung on December, 2 2004 using texi2html