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
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 />
20 <strong>opsi</strong>-Nagios-Connector 149<br />
20.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149<br />
20.2 Preconditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149<br />
20.2.1 Preconditions at the <strong>opsi</strong> server and client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149<br />
20.2.2 Preconditions at the Nagios server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150<br />
20.3 Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150<br />
20.3.1 <strong>opsi</strong> web service extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150<br />
20.3.2 <strong>opsi</strong>-client-agent extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150<br />
20.4 <strong>opsi</strong>-checks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150<br />
20.4.1 Some background information about where to run the checks . . . . . . . . . . . . . . . . . . . 150<br />
20.4.2 <strong>opsi</strong>-check-plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153<br />
Check: <strong>opsi</strong> web service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154<br />
Check: <strong>opsi</strong> web service pnp4nagios template . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154<br />
Check: <strong>opsi</strong>-check-diskusage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156<br />
Check: <strong>opsi</strong>-client-status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156<br />
Check: <strong>opsi</strong>-check-ProductStatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157<br />
Check: <strong>opsi</strong>-check-depotsync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158<br />
Check: nagios client plugin check via <strong>opsi</strong>clientd . . . . . . . . . . . . . . . . . . . . . . . . . . 159<br />
20.5 <strong>opsi</strong> monitoring configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160<br />
20.5.1 <strong>opsi</strong> monitoring user . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160<br />
20.5.2 <strong>opsi</strong>-Nagios-Connector configuration directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161<br />
20.5.3 Nagios template: <strong>opsi</strong>templates.cfg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161<br />
20.5.4 <strong>opsi</strong> hostgroup: <strong>opsi</strong>hostgroups.cfg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164<br />
20.5.5 <strong>opsi</strong> server: .cfg . . . . . . . . . . . . . . . . . . . . . . . . . . . 164<br />
20.5.6 <strong>opsi</strong> Clients: clients/.cfg . . . . . . . . . . . . . . . . . . . . . 164<br />
20.5.7 <strong>opsi</strong> command configuration: <strong>opsi</strong>commands.cfg . . . . . . . . . . . . . . . . . . . . . . . . . . 165<br />
20.5.8 Contacts: <strong>opsi</strong>contacts.cfg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166<br />
20.5.9 Services: <strong>opsi</strong>services.cfg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167<br />
21 <strong>opsi</strong> data storage (backends) 169<br />
21.1 file backend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169<br />
21.2 ldap-Backend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169<br />
21.3 mysql backend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170<br />
21.3.1 mysql backend for inventory data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170<br />
21.3.2 mysql backend for configuration data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174<br />
21.3.3 Initializing the MySQL-Backend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175<br />
21.3.4 Configure the mysql database for access from outside the server . . . . . . . . . . . . . . . . . . 177<br />
21.4 HostControl backend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177<br />
21.5 Con<strong>version</strong> between different backends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177<br />
21.6 Boot files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178<br />
21.7 Securing the shares with encrypted passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178<br />
viii