# macros.icinga file # macros for Icinga (sub-)package building - handle with care # # # directories # # install all plugins into this directory # Please note: we use the old Nagios directory here, as plugins are # currently compatible %icinga_plugindir %{_prefix}/lib/nagios/plugins # install all event handler scripts into this directory %icinga_eventhandlerdir %{_prefix}/lib/icinga/eventhandler # files like p1.pl are located directly in this directory %icinga_libdir %{_prefix}/lib/icinga # Icinga uses this directory for status files %icinga_localstatedir %{_var}/lib/icinga # Icinga configuration should be stored here %icinga_sysconfdir %{_sysconfdir}/icinga # Icinga static webpages, stylesheets and theme(s), online documentation %icinga_datadir %{_datadir}/icinga # Icinga spool dir (checkresult-dir) %icinga_spooldir %{_var}/spool/icinga # Icinga logfile dir %icinga_logdir %{_var}/log/icinga # Icinga cgi directory %icinga_cgidir %{_prefix}/lib/icinga/cgi # # files # # This is the file that Icinga checks for external command requests %icinga_command_file %{_var}/spool/icinga/icinga.cmd # This is where the current status of all monitored services and # hosts is stored. %icinga_status_file %{_var}/lib/icinga/status.dat # This is the file that Icinga should use to store host and # service state information before it shuts down. %icinga_state_retention_file %{_var}/lib/icinga/retention.dat # # users and groups # # User, Icinga runs under %icinga_user icinga # Group, Icinga runs under %icinga_group icinga # User, that can execute commands via %{icinga_command_file} %icinga_command_user wwwrun # Group, that can execute commands via %{icinga_command_file} %icinga_command_group icingacmd