hostextinfo.cfg
Victor
victor at ambra.ro
Sun Jun 20 18:22:53 CEST 2004
I use nagios 1.2.
I try to use "*
<http://nagios.sourceforge.net/docs/1_0/xedtemplate.html>*Template based
method" but doen't work.
3D map appears, but status map does not.
I tryed diffrent 3d_coords , but there is no difference in 3D map.
Where status map image should appear is a missing image.
There is nothing in the logs refering to this problem.
I compiled like this : ./configure --with-template-extinfo
The command "/usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg" shows no error or warning.
My configuration is.
cgi.cfg
main_config_file=/usr/local/nagios/etc/nagios.cfg
physical_html_path=/usr/local/nagios/share
url_html_path=/nagios
show_context_help=0
use_authentication=0
default_statusmap_layout=5
default_statuswrl_layout=4
ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
refresh_rate=90
xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg
xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg
hosts.cfg
define host{
host_name novell1
alias Novell Server #1
address 192.168.1.2
check_command check-host-alive
max_check_attempts 10
notification_interval 120
notification_period 24x7
notification_options d,u,r
}
hostextinfo.cfg
define hostextinfo{
host_name novell1
2d_coords 100.0,50.0
3d_coords 10.0,50.0,75.0
}
services.cfg
define service{
host_name novell1
service_description SMTP
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups novell-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_smtp
}
serviceextinfo.cfg
define serviceextinfo{
host_name novell1
service_description SMTP
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 3
retry_check_interval 1
contact_groups novell-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_smtp
}
Thank you.
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list