Beruflich Dokumente
Kultur Dokumente
# rm -rf /var/db/mysql
extension=mysql.so
4- instalar el modulo de php con el comando:
pkg install php56-mysqli
Proceed with this action? [y/N]: y
extension=mysqli.so
INSTALACION DE NAGIOS:
1- Instalar con el comando:
pkg install nagios
# READ-ONLY USERS
# A comma-delimited list of usernames that have read-only rights in
# the CGIs. This will block any service or host commands normally shown
# on the extinfo CGI pages. It will also block comments from being shown
# to read-only users.
authorized_for_read_only=usuario1,usuario2
10-agregar a usuario a modo privilegiado:
a) Para permitir el usuario invitado, luego de aver configurado nagiosadmin:
Para permitir el usuario invitado, el comando seria asi:
# htpasswd /usr/local/etc/nagios/htpasswd.users maestro
New password: *****
Re-type new password: *****
Adding password for user maestro
authorized_for_all_services=nagiosadmin,maestro
authorized_for_all_hosts=nagiosadmin,maestro
11-Reiniciar Servicios.