Server Class (server)
The following are Server parameters. Refer to Server Commands for descriptions.
Parameters
name (string)
proto (string)
probe_l3 (bool)
ip (string)
max_reuse_conn (int)
port (int)
reuse_conn_timeout (int)
bmc_addr (string)
bmc_user (string)
bmc_passwd (string)
bmc_cmd (string)
Methods
getByName(string name)
Description:
Fetch the server named ‘
'name’
from the configuration.
Returns:
On success: server object populated with all of its properties. On failure: An exception with a message and an
error code.
Example:
// Fetch a server named ‘sv00’
$sv = server::getByName("sv00");
getStatusDescription()
Description:
Get the status of this server as a string.
Returns:
A string containing the status of this server.
Example:
$sv = server::getByName(“sv00”);
// print the status – accessible using ‘lastrun’ command.
echo $sv->getStatusDescription();
getStatusResp()
Description:
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
All Rights Reserved.
689
Equalizer Administration Guide
Summary of Contents for Equalizer GX Series
Page 18: ......
Page 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 42: ......
Page 52: ......
Page 64: ......
Page 72: ......
Page 76: ......
Page 228: ......
Page 238: ......
Page 476: ......
Page 492: ......
Page 530: ......
Page 614: ......
Page 626: ......
Page 638: ......
Page 678: ......
Page 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 754: ......
Page 790: ......
Page 804: ......
Page 842: ......
Page 866: ......