#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"
#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 |
void calculate_balanced_tree_coords | ( | host * | , | |
int | , | |||
int | ||||
) |
void calculate_circular_coords | ( | void | ) |
void calculate_circular_layer_coords | ( | host * | , | |
double | , | |||
double | , | |||
int | , | |||
int | ||||
) |
void calculate_host_coords | ( | void | ) |
void calculate_world_bounds | ( | void | ) |
void display_world | ( | void | ) |
void draw_host | ( | host * | ) |
void draw_host_link | ( | host * | , | |
double | , | |||
double | , | |||
double | , | |||
double | , | |||
double | , | |||
double | ||||
) |
void draw_host_links | ( | void | ) |
void draw_process_icon | ( | void | ) |
int main | ( | int | argc, | |
char ** | argv | |||
) |
int max_child_host_drawing_width | ( | host * | ) |
int max_child_host_layer_members | ( | host * | ) |
int number_of_host_layer_members | ( | host * | , | |
int | ||||
) |
int process_cgivars | ( | void | ) |
void write_global_vrml_data | ( | void | ) |
int CGI_ID = STATUSWRL_CGI_ID |
int coordinates_were_specified = FALSE |
int custom_viewpoint = FALSE |
double custom_viewpoint_x = 0.0 |
double custom_viewpoint_y = 0.0 |
double custom_viewpoint_z = 0.0 |
int daemon_check |
int display_type = DISPLAY_HOSTS |
int draw_nagios_icon = FALSE |
float floor_depth = 0.0 |
float floor_width = 0.0 |
float horizontal_spacing = DEFAULT_HORIZONTAL_SPACING |
char* host_filter = NULL |
char* host_name = "all" |
char* hostgroup_name = NULL |
int layout_method = LAYOUT_USER_SUPPLIED |
float link_radius = 0.016 |
char main_config_file[MAX_FILENAME_LENGTH] |
double max_world_size = 0.0 |
double max_x_coord = 0.0 |
double max_y_coord = 0.0 |
double max_z_coord = 0.0 |
double min_x_coord = 0.0 |
double min_y_coord = 0.0 |
double min_z_coord = 0.0 |
double nagios_icon_x = 0.0 |
double nagios_icon_y = 0.0 |
float node_height = DEFAULT_NODE_WIDTH |
float node_width = DEFAULT_NODE_WIDTH |
char* service_desc = NULL |
char* service_filter = NULL |
char* servicegroup_name = NULL |
int show_all_hostgroups = TRUE |
int show_all_hosts = TRUE |
int show_all_servicegroups = TRUE |
char* statuswrl_include |
char url_html_path[MAX_FILENAME_LENGTH] |
char url_images_path[MAX_FILENAME_LENGTH] |
char url_js_path[MAX_FILENAME_LENGTH] |
char url_logo_images_path[MAX_FILENAME_LENGTH] |
int use_links = TRUE |
int use_text = TRUE |
int use_textures = TRUE |
float vertical_spacing = DEFAULT_VERTICAL_SPACING |