Nagios – Solaris 11

benötigte Sourcen:

check_snmp-1.4.tar.bz2
nagios-3.5.1.tar.gz
nagios-plugins-1.5.tar.gz
nrpe-2.15.tar.gz
nsca-2.7.2.tar.gz

Compile:

configure --prefix=/data/apps/nagios CC=gcc
make  bzw. make all
make install

Gruppe & User:

nagios::1166:webservd
nagios:x:1166:1166:nagios admin:/data/apps/nagios/:/usr/bin/bash

Profile:

profiles -p "Nagios Administrator" info
        name=Nagios Administrator
        desc=additional privileges for nagios admins
        auths=solaris.smf.manage.http/apache22,solaris.smf.value.http/apache22,solaris.admin.edit/etc/apache2/2.2/httpd.conf,solaris.admin.edit/etc/php/5.3/php.ini,solaris.smf.manage.nagios,solaris.smf.value.nagios

Auths anlegen:

solaris.smf.manage.http/apache22
solaris.smf.value.http/apache22
solaris.smf.manage.nagios
solaris.smf.value.nagios

Nagios Manifest:

/lib/svc/manifest/site/nagios.xml

Leave a Reply

Your email address will not be published. Required fields are marked *