Daniel Alberto Ortiz Lara | 21 Jan 2008 16:33
Picon

Problemas con JFFNMS 0.8.3

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 <at> 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 webmaster <at> 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 /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:

&lt;!-- <at> page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } --&gt;

#crontab -u jff nms /usr/share/jffnms/docs/unix/crontab


#crontab -e -u jffnms


&lt;!-- <at> page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } --&gt;

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
jffnms-users@...
https://lists.sourceforge.net/lists/listinfo/jffnms-users
Craig Small | 21 Jan 2008 22:43
Picon
Gravatar

Re: Problemas con JFFNMS 0.8.3

On Tue, Jan 22, 2008 at 11:03:14AM +1930, Daniel Alberto Ortiz Lara wrote:
> 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
Debian has a jffnms package :)

> 
> Then show the configuration file / etc/apache2/sites-enabled/000-default
I see no JFFNMS setup here.

> 
> 
> Then change the header of the crontab file:
> 
> JFFNMS = / usr / share / jffnms / engine
> 
> PHP = / usr / bin / php

Is jffnms installed in /usr/share/jffnms/engine?

> 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.
I don't understand what you mean.  Not seeing graphics means an apache
problem. Purple probably means some administrative setup problem.

--

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 

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

Gmane