Send netdisco-users mailing list submissions to
netdisco-users@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
netdisco-users-requ...@lists.sourceforge.net
You can reach the person managing the list at
netdisco-users-ow...@lists.sourceforge.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. App::NetdiscoX::Web::Plugin::Observium in Docker
(Massimo Del Sarto)
2. Re: App::NetdiscoX::Web::Plugin::Observium in Docker
(Massimo Del Sarto)
--- Begin Message ---
I need to load App::NetdiscoX::Web::Plugin::Observium plugin in a Docker
installation.
I copyed the file Observium.pm in
nd-site-local/lib/App/NetdiscoX/Web/Plugin/Observium.pm
I commented out
#use File::ShareDir 'dist_dir';
#register_template_path(
# dist_dir( 'App-NetdiscoX-Web-Plugin-Observium' ));
But I'm not shure where to put the files device_port_column.tt , observium.css,
observium.js
I think I have to put in nd-site-local/share but I don't know which is the righ
path
Can help me?
----------------------------------------------------------------
Ing. Massimo Del Sarto ..................
Centro Tecnologie Informatiche, Telematiche ed Elaborazione Dati
IRCCS Fondazione Stella Maris http://www.fsm.unipi.it
Tel. +39 050 886 204 / 268 Fax. +39 050 886202
----------------------------------------------------------------
--
Metti il tuo 5x1000 sotto una buona Stella
Destinalo per sostenere la ricerca della Fondazione Stella Maris
Istituto Scientifico per la Neuropsichiatria dell'Infanzia e dell'Adolescenza.
Non ti costera' nulla ed e' molto semplice.
Codice Fiscale Fondazione Stella Maris: 00126240506 < < <
--
Avvertenze ai sensi del Regolamento Generale UE 679/2016 (Regolamento Privacy)
Il presente messaggio, corredato dei relativi allegati, potrebbe contenere
informazioni strettamente riservate o confidenziali ed e' riferito
esclusivamente al destinatario sopra indicato. Quest'ultimo e' l'unico
autorizzato ad usarlo, copiarlo e, sotto la propria responsabilita' a
diffonderlo. Chiunque ricevesse questo messaggio per errore o lo leggesse
senza esserne legittimato e' avvisato che trattenerlo, copiarlo,
divulgarlo, distribuirlo a persone diverse dal destinatario e' severamente
proibito ed e' pregato di rinviarlo immediatamente al mittente
distruggendo l'originale. Grazie.
This message, together with its annexes, may contain information strictly
confidential or privileged and is intended only for the addressee(s)
identified above, who only may use, copy and, under his/their
responsibility, further disseminate it. If you are not the intended
recipient or have read it without entitlement, please be aware that
keeping, copying, disseminating or distributing this message to persons
other than the addressee(s) is strictly forbidden and transmit it
immediately back to the sender, deleting the original message received.
Thank you.
--- End Message ---
--- Begin Message ---
Update.
I can fix my problem and now works fine.
this is the correct strutcture:
nd-site-local/
nd-site-local/lib
nd-site-local/lib/App
nd-site-local/lib/App/NetdiscoX
nd-site-local/lib/App/NetdiscoX/Web
nd-site-local/lib/App/NetdiscoX/Web/Plugin
nd-site-local/lib/App/NetdiscoX/Web/Plugin/Observium.pm
nd-site-local/share
nd-site-local/share/views
nd-site-local/share/views/plugin
nd-site-local/share/views/plugin/observium
nd-site-local/share/views/plugin/observium/device_port_column.tt
nd-site-local/share/views/plugin/observium/observium.css
nd-site-local/share/views/plugin/observium/observium.js
remeber to change the owenership (sudo chown -R 901:901 nd-site-local)
Massimo
----- Messaggio originale -----
> Da: "Massimo Del Sarto" <massimo.delsa...@fsm.unipi.it>
> A: netdisco-users@lists.sourceforge.net
> Inviato: Giovedì, 17 febbraio 2022 18:02:33
> Oggetto: App::NetdiscoX::Web::Plugin::Observium in Docker
> I need to load App::NetdiscoX::Web::Plugin::Observium plugin in a
> Docker installation.
> I copyed the file Observium.pm in
> nd-site-local/lib/App/NetdiscoX/Web/Plugin/Observium.pm
> I commented out
> #use File::ShareDir 'dist_dir';
> #register_template_path(
> # dist_dir( 'App-NetdiscoX-Web-Plugin-Observium' ));
> But I'm not shure where to put the files device_port_column.tt ,
> observium.css, observium.js
> I think I have to put in nd-site-local/share but I don't know which
> is the righ path
> Can help me?
> ----------------------------------------------------------------
> Ing. Massimo Del Sarto ..................
> Centro Tecnologie Informatiche, Telematiche ed Elaborazione Dati
> IRCCS Fondazione Stella Maris http://www.fsm.unipi.it
> Tel. +39 050 886 204 / 268 Fax. +39 050 886202
> ----------------------------------------------------------------
--
Metti il tuo 5x1000 sotto una buona Stella
Destinalo per sostenere la ricerca della Fondazione Stella Maris
Istituto Scientifico per la Neuropsichiatria dell'Infanzia e dell'Adolescenza.
Non ti costera' nulla ed e' molto semplice.
Codice Fiscale Fondazione Stella Maris: 00126240506 < < <
--
Avvertenze ai sensi del Regolamento Generale UE 679/2016 (Regolamento Privacy)
Il presente messaggio, corredato dei relativi allegati, potrebbe contenere
informazioni strettamente riservate o confidenziali ed e' riferito
esclusivamente al destinatario sopra indicato. Quest'ultimo e' l'unico
autorizzato ad usarlo, copiarlo e, sotto la propria responsabilita' a
diffonderlo. Chiunque ricevesse questo messaggio per errore o lo leggesse
senza esserne legittimato e' avvisato che trattenerlo, copiarlo,
divulgarlo, distribuirlo a persone diverse dal destinatario e' severamente
proibito ed e' pregato di rinviarlo immediatamente al mittente
distruggen
do l'ori
ginale. Grazie.
This message, together with its annexes, may contain information strictly
confidential or privileged and is intended only for the addressee(s)
identified above, who only may use, copy and, under his/their
responsibility, further disseminate it. If you are not the intended
recipient or have read it without entitlement, please be aware that
keeping, copying, disseminating or distributing this message to persons
other than the addressee(s) is strictly forbidden and transmit it
immediately back to the sender, deleting the original message received.
Thank you.
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users