Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
nagiosgrapher
> nagiosgrapher.README.SuSE
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File nagiosgrapher.README.SuSE of Package nagiosgrapher
Just a few steps to run the grapher ... Add the following lines to your /etc/nagios/nagios.cfg: ------------------------------------------------------------------------ # serviceext_type MULTIPLE cfg_dir=/etc/nagios/serviceext # tell nagios to write service perfdata process_performance_data=1 service_perfdata_command=process-service-perfdata ------------------------------------------------------------------------ and add the following command to your /etc/nagios/misccommands.cfg: ------------------------------------------------------------------------ # define process-service-perfdata command to communicat with nagiosgrapher via pipe define command { command_name process-service-perfdata command_line /usr/lib/nagios/contrib/fifo_write.pl /var/run/nagiosgrapher/ngraph.pipe '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3 } ------------------------------------------------------------------------ Please do not forget to check /etc/nagios/ngraph.ncfg for the proper loglevel. The default loglevel is set to 63 which might blow up your logfile! The nagiosgrapher template files can be found in /etc/nagios/ngraph.d. The default set of configuration should work out of the box (if you have correctly installed and configured nagios 2.5 prior to the nagiosgrapher). PLEASE NOTICE that the serviceext files in /etc/nagios/serviceext are written automatically on every rrdupdate. If this is not want please comment the line: 'hooks_rrdupdate NagiosGrapher::Hooks::SrvExtWriteHostextInfo' in /etc/nagios/ngraph.ncfg with a '#'. For the detailed configuration of nagiosgrapher please have look into the CONFIG file in the package documentation directory. Have a lot of fun ...