Nagiosgraph and Hostgroups
Posted: Tue Jun 17, 2014 11:53 am
Hello, I've installed Nagiosgraph and am able to see the graphs on my services by individual host only, but when I look at hostgroups I don't have the icon to display the graphs. I want to be able to see a specific service for all servers. Here is my config:
Windows.cfg:
define service{
use generic-service,nagiosgraph
hostgroup_name Prod_Server
service_description CPU Load
check_command check_nt!CPULOAD!-l 5,80,90
}
Commands.cfg:
define command {
command_name process-service-perfdata-for-nagiosgraph
command_line /usr/local/nagiosgraph/bin/insert.pl
}
nagios.cfg:
# process nagios performance data using nagiosgraph
process_performance_data=1
service_perfdata_file=/tmp/perfdata.log
service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=30
service_perfdata_file_processing_command=process-service-perfdata-for-nagiosgraph
Any help would be appreciated.
Thanks!
Windows.cfg:
define service{
use generic-service,nagiosgraph
hostgroup_name Prod_Server
service_description CPU Load
check_command check_nt!CPULOAD!-l 5,80,90
}
Commands.cfg:
define command {
command_name process-service-perfdata-for-nagiosgraph
command_line /usr/local/nagiosgraph/bin/insert.pl
}
nagios.cfg:
# process nagios performance data using nagiosgraph
process_performance_data=1
service_perfdata_file=/tmp/perfdata.log
service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=30
service_perfdata_file_processing_command=process-service-perfdata-for-nagiosgraph
Any help would be appreciated.
Thanks!