Scrolling a chain of character from right to left on Nagvis

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Athanor027
Posts: 18
Joined: Mon Jan 27, 2014 7:30 am

Scrolling a chain of character from right to left on Nagvis

Post by Athanor027 »

Hello,

I look for a way to make parade (scrolling) a chain of character from right to left on Nagvis.

Would you have an idea?

I thank you for it a lot

Best Regards
User avatar
nozlaf
Posts: 172
Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia

Re: Scrolling a chain of character from right to left on Nag

Post by nozlaf »

Hello again friend

you can probably do this using containers in nagvis

http://docs.nagvis.org/1.8/en_US/map_co ... #container

i've never done it
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
Athanor027
Posts: 18
Joined: Mon Jan 27, 2014 7:30 am

Re: Scrolling a chain of character from right to left on Nag

Post by Athanor027 »

Hello,

Thank you very much.

Yes, it is necessary to create a container and to create a file php in the directory:
. /nagvis/share/userfiles/scripts

Here is the script:

<marquee direction="left"> Eh! Je suis un texte qui déle vers à auche</marquee>

<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="left">Eh! Je suis un texte qui déle vers à auche</marquee>


The first text does not stop and the second stops with the mouse.

Now I try to increase the size of the characters.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Scrolling a chain of character from right to left on Nag

Post by tmcdonald »

Thank you @nozlaf for the response!

Since this is somewhat of a mix between NagVis and general HTML/Javascript, I'd prefer if we closed the thread being as Nagios Core is not being discussed. There are excellent forums for both NagVis and general web development that would be better suited for these sorts of things:

http://www.nagvis.org/support
http://forums.htmlhelp.com/
Former Nagios employee
Athanor027
Posts: 18
Joined: Mon Jan 27, 2014 7:30 am

Re: Scrolling a chain of character from right to left on Nag

Post by Athanor027 »

Hello,

Thank you very much for the information.

Best Regards,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Scrolling a chain of character from right to left on Nag

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked