Good morning.
This is for help with my jffnms in debian etch, mysql, apache2, PHP5.
I have some doubt about how to configure correctly CRON
Then show the configuration file / etc/apache2/sites-enabled/000-default
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster @ localhost
DocumentRoot / usr / share / jffnms / htdocs /
<Directory />
Options FollowSymLinks
AllowOverride None
</ Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow, deny
Allow from all
# This directive allows us to have apache2's default start
page
# In / apache2-default /, but still have / go to the right
place
RedirectMatch # ^ / $ / apache2-default /
</ Directory>
ScriptAlias / cgi-bin / usr / lib / cgi-bin /
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI-MultiViews + SymLinksIfOwnerMatch
Order allow, deny
Allow from all
</ Directory>
ErrorLog / var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# Alert, emerg.
LogLevel warn
CustomLog / Combined var/log/apache2/access.log
On ServerSignature
Alias / doc / "/ usr / share / doc /"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny, allow
Deny from all
Allow from 127.0.0.0/255.0.0.0: 1 / 128
</ Directory>
Then show the configuration file php
* / Etc/php5/apache2/php.ini
Mysql.so extension =
Gd.so extension =
Sockets.so extension =
Snmp.so extension =
Odbc.so extension =
Gd.so extension =
Timezonedb.so extension =
* / Etc/php5/cgi/php.ini
Mysql.so extension =
Odbc.so extension =
Snmp.so extension =
* / Etc/php5/cli/php.ini
Mysql.so extension =
Gd.so extension =
Snmp.so extension =
Odbc.so extension =
So write the CRON:
# Crontab-u jff nms / usr / share / jffnms / docs / unix / crontab
# Crontab-e-u jffnms
Then change the header of the crontab file:
JFFNMS = / usr / share / jffnms / engine
PHP = / usr / bin / php
I ASK ME PLEASE ASSIST RESOLVE THE PROBLEM THAT CAN NOT HAVE TO SEE THE
HOSTS NOT ALLOW ME TO SEE GRAPHICS, THE HOST TO INCOME ALWAYS HAVE THE COLOR
PURPLE AND NOT MEAN THAT.
Buenos Días.
La presente es para solicitar ayuda con mi jffnms en debian etch, mysql,
apache2, PHP5.
Tengo dudas sobre como configurar correctamente el CRON
A continuación mostraré el archivo de configuración
/etc/apache2/sites-enabled/000-default
NameVirtualHost *
<VirtualHost *>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /usr/share/jffnms/htdocs/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start
page
# in /apache2-default/, but still have / go to the right
place
# RedirectMatch ^/$ /apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
A continuación mostraré el archivo de configuración de php
- /etc/php5/apache2/php.ini
extension=mysql.so
extension=gd.so
extension=sockets.so
extension=snmp.so
extension=odbc.so
extension=gd.so
extension=timezonedb.so
- /etc/php5/cgi/php.ini
extension=mysql.so
extension=odbc.so
extension=snmp.so
- /etc/php5/cli/php.ini
extension=mysql.so
extension=gd.so
extension=snmp.so
extension=odbc.so
Así escribi el CRON:
*#crontab -u jff nms /usr/share/jffnms/docs/unix/crontab*
*#crontab -e -u jffnms*
Luego cambio el encabezado del archivo crontab por:
JFFNMS=/usr/share/jffnms/engine
PHP=/usr/bin/php
LES PIDO ME AYUDEN A SOLVENTAR EL PROBLEMA QUE TENGO QUE NO PUEDO VER LOS
EQUIPOS, NO ME MUESTRAN GRAFICAS, LOS HOST QUE INGRESO SIEMPRE TIENEN EL
COLOR MORADO Y NO SE QUE SIGNIFICA.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users