#include "../include/config.h"
#include "../include/common.h"
#include "../include/objects.h"
#include "../include/statusdata.h"
#include "../include/cgiutils.h"
#include "../include/getcgi.h"
#include "../include/cgiauth.h"
Go to the source code of this file.
Defines |
#define | ICINGA_VRML_IMAGE "icingavrml.png" |
#define | DEFAULT_NODE_WIDTH 0.5 |
#define | DEFAULT_HORIZONTAL_SPACING 1.0 |
#define | DEFAULT_VERTICAL_SPACING 1.0 |
#define | DEFAULT_NODE_HEIGHT 0.5 |
#define | DEFAULT_NODE_HSPACING 1.0 |
#define | DEFAULT_NODE_VSPACING 1.0 |
#define | CIRCULAR_DRAWING_RADIUS 5.0 |
#define | LAYOUT_USER_SUPPLIED 0 |
#define | LAYOUT_COLLAPSED_TREE 2 |
#define | LAYOUT_BALANCED_TREE 3 |
#define | LAYOUT_CIRCULAR 4 |
Functions |
void | calculate_host_coords (void) |
void | calculate_world_bounds (void) |
void | display_world (void) |
void | write_global_vrml_data (void) |
void | draw_process_icon (void) |
void | draw_host (host *) |
void | draw_host_links (void) |
void | draw_host_link (host *, double, double, double, double, double, double) |
int | process_cgivars (void) |
int | number_of_host_layer_members (host *, int) |
int | max_child_host_layer_members (host *) |
int | host_child_depth_separation (host *, host *) |
int | max_child_host_drawing_width (host *) |
void | calculate_balanced_tree_coords (host *, int, int) |
void | calculate_circular_coords (void) |
void | calculate_circular_layer_coords (host *, double, double, int, int) |
int | main (int argc, char **argv) |
Variables |
char | main_config_file [MAX_FILENAME_LENGTH] |
char | url_html_path [MAX_FILENAME_LENGTH] |
char | url_images_path [MAX_FILENAME_LENGTH] |
char | url_logo_images_path [MAX_FILENAME_LENGTH] |
char | url_js_path [MAX_FILENAME_LENGTH] |
char * | statuswrl_include |
host * | host_list |
service * | service_list |
int | default_statuswrl_layout_method |
authdata | current_authdata |
float | link_radius = 0.016 |
float | floor_width = 0.0 |
float | floor_depth = 0.0 |
double | min_z_coord = 0.0 |
double | min_x_coord = 0.0 |
double | min_y_coord = 0.0 |
double | max_z_coord = 0.0 |
double | max_x_coord = 0.0 |
double | max_y_coord = 0.0 |
double | max_world_size = 0.0 |
double | nagios_icon_x = 0.0 |
double | nagios_icon_y = 0.0 |
int | draw_nagios_icon = FALSE |
double | custom_viewpoint_x = 0.0 |
double | custom_viewpoint_y = 0.0 |
double | custom_viewpoint_z = 0.0 |
int | custom_viewpoint = FALSE |
float | vertical_spacing = DEFAULT_VERTICAL_SPACING |
float | horizontal_spacing = DEFAULT_HORIZONTAL_SPACING |
float | node_width = DEFAULT_NODE_WIDTH |
float | node_height = DEFAULT_NODE_WIDTH |
int | use_textures = TRUE |
int | use_text = TRUE |
int | use_links = TRUE |
int | layout_method = LAYOUT_USER_SUPPLIED |
int | coordinates_were_specified = FALSE |
int | daemon_check |
int | display_type = DISPLAY_HOSTS |
int | show_all_hosts = TRUE |
int | show_all_hostgroups = TRUE |
int | show_all_servicegroups = TRUE |
char * | host_name = "all" |
char * | host_filter = NULL |
char * | hostgroup_name = NULL |
char * | servicegroup_name = NULL |
char * | service_desc = NULL |
char * | service_filter = NULL |
int | CGI_ID = STATUSWRL_CGI_ID |
Define Documentation
#define CIRCULAR_DRAWING_RADIUS 5.0 |
#define DEFAULT_HORIZONTAL_SPACING 1.0 |
#define DEFAULT_NODE_HEIGHT 0.5 |
#define DEFAULT_NODE_HSPACING 1.0 |
#define DEFAULT_NODE_VSPACING 1.0 |
#define DEFAULT_NODE_WIDTH 0.5 |
#define DEFAULT_VERTICAL_SPACING 1.0 |
#define ICINGA_VRML_IMAGE "icingavrml.png" |
#define LAYOUT_BALANCED_TREE 3 |
#define LAYOUT_CIRCULAR 4 |
#define LAYOUT_COLLAPSED_TREE 2 |
#define LAYOUT_USER_SUPPLIED 0 |
Function Documentation
void calculate_balanced_tree_coords |
( |
host * |
parent, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
void calculate_circular_coords |
( |
void |
| ) |
|
void calculate_circular_layer_coords |
( |
host * |
parent, |
|
|
double |
start_angle, |
|
|
double |
useable_angle, |
|
|
int |
layer, |
|
|
int |
radius |
|
) |
| |
void calculate_host_coords |
( |
void |
| ) |
|
void calculate_world_bounds |
( |
void |
| ) |
|
void display_world |
( |
void |
| ) |
|
void draw_host |
( |
host * |
temp_host | ) |
|
void draw_host_link |
( |
host * |
hst, |
|
|
double |
x0, |
|
|
double |
y0, |
|
|
double |
z0, |
|
|
double |
x1, |
|
|
double |
y1, |
|
|
double |
z1 |
|
) |
| |
void draw_host_links |
( |
void |
| ) |
|
void draw_process_icon |
( |
void |
| ) |
|
int host_child_depth_separation |
( |
host * |
parent, |
|
|
host * |
child |
|
) |
| |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
int max_child_host_drawing_width |
( |
host * |
parent | ) |
|
int max_child_host_layer_members |
( |
host * |
parent | ) |
|
int number_of_host_layer_members |
( |
host * |
parent, |
|
|
int |
layer |
|
) |
| |
int process_cgivars |
( |
void |
| ) |
|
void write_global_vrml_data |
( |
void |
| ) |
|
Variable Documentation
determine the view (host/service)
Definition at line 131 of file statuswrl.c.
requested host name
the requested host name
Definition at line 136 of file statuswrl.c.
requested service name
the requested service name
Definition at line 140 of file statuswrl.c.
requested servicegroup name
Definition at line 139 of file statuswrl.c.
if historical data is requested for all hosts
Definition at line 132 of file statuswrl.c.