05.02.2013 Views

opsi manual opsi version 4.0.2 - opsi Download - uib

opsi manual opsi version 4.0.2 - opsi Download - uib

opsi manual opsi version 4.0.2 - opsi Download - uib

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>opsi</strong> <strong>manual</strong> <strong>opsi</strong> <strong>version</strong> <strong>4.0.2</strong><br />

failure_prediction_enabled 1<br />

process_perf_data 1<br />

retain_status_information 1<br />

retain_nonstatus_information 1<br />

max_check_attempts 10<br />

notification_interval 0<br />

notification_period 24x7<br />

notification_options d,u,r<br />

contact_groups admins,<strong>opsi</strong>admins<br />

_configserver configserver.domain.local<br />

_configserverport 4447<br />

register 0<br />

icon_image <strong>opsi</strong>/<strong>opsi</strong>-client.png<br />

}<br />

163 / 193<br />

The Option "check command check-host-alive" should be not set here because the clients are not always running. In<br />

effect the clients will be displayed as pending instead of offline.<br />

You just have to change configserver.domain.local to your config server name. Also you may change the contact_groups<br />

to your needs.<br />

The next part of the file <strong>opsi</strong>templates.cfg is the template for the <strong>opsi</strong>-services:<br />

define service{<br />

name <strong>opsi</strong>-service-tmpl<br />

active_checks_enabled 1<br />

passive_checks_enabled 1<br />

parallelize_check 1<br />

obsess_over_service 1<br />

check_freshness 0<br />

notifications_enabled 1<br />

event_handler_enabled 1<br />

flap_detection_enabled 1<br />

failure_prediction_enabled 1<br />

process_perf_data 1<br />

retain_status_information 1<br />

retain_nonstatus_information 1<br />

notification_interval 0<br />

is_volatile 0<br />

check_period 24x7<br />

normal_check_interval 5<br />

retry_check_interval 1<br />

max_check_attempts 4<br />

notification_period 24x7<br />

notification_options w,u,c,r<br />

contact_groups admins,<strong>opsi</strong>admins<br />

register 0<br />

}<br />

If you are using pnp4nagios for the graphic display of performance data you will need two other templates in the file<br />

<strong>opsi</strong>templates.cfg:<br />

define host {<br />

name host-pnp<br />

action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_<br />

register 0<br />

}<br />

define service {<br />

name srv-pnp<br />

action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$<br />

register 0<br />

}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!