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 />

155 / 193<br />

Setp 2:<br />

change to the directory /usr/share/pnp4nagios/html/templates and place there a file check_<strong>opsi</strong>webservice.php<br />

which you check out from svn.<strong>opsi</strong>.org:<br />

cd /usr/share/pnp4nagios/html/templates<br />

svn co https://svn.<strong>opsi</strong>.org/<strong>opsi</strong>-pnp4nagios-template/trunk/check_<strong>opsi</strong>webservice.php<br />

Please check that your php file is named exactly like the command_name which is defined at the<br />

/etc/nagios3/conf.d/<strong>opsi</strong>/<strong>opsi</strong>commands.cfg. If the names don’t match, a standard template will be used instead<br />

our combined template.<br />

After installing this template you should delete the RRD data bases which belong to this check (if there any existing).<br />

You will find these data bases at /var/pnp4nagios/perfdata// where you should (only) delete the<br />

<strong>opsi</strong>-webservice.rrd and <strong>opsi</strong>-webservice.xml files.<br />

If you have configured everything correctly you should now able to see diagrams like the following screenshot.

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

Saved successfully!

Ooh no, something went wrong!