Nagiosgraph mouseover failsLog transport and aggregation at scaleConfigure Zabbix to send email notifications through EximWeird Extended Information on Nagios Web UIMonitor ethernet traffic of windows host using check_snmp with nagiosNetwork monitoring library, or objects, for a cloudNagios3: Conditional operators for service checks?Adding custom service to nagiosgraphOverriding Nagios hostgroup service with host serviceMonitoring PostgreSQL replication with Nagios and check_postgres shows intermittent delay

How do I say what something is made out of?

Will users know a CardView is clickable

Print the phrase "And she said, 'But that's his.'" using only the alphabet

Do items with curse of vanishing disappear from shulker boxes?

How to search for Android apps without ads?

SQL Server has encountered occurences of I/O requests taking longer than 15 seconds

Can I give my friend the sour dough "throw away" as a starter to their sourdough starter?

Relationship between a determinant and the roots of a cubic equation

mathrm in LaTeX

Can artificial satellite positions affect tides?

How to address players struggling with simple controls?

What made the Ancient One do this in Endgame?

Are athletes' college degrees discounted by employers and graduate school admissions?

My parents claim they cannot pay for my college education; what are my options?

...and then she held the gun

Should I worry about having my credit pulled multiple times while car shopping?

Using roof rails to set up hammock

Struggling to present results from long papers in short time slots

What should I be aware of in buying second-hand sinks and toilets?

Is there a term for someone whose preferred policies are a mix of Left and Right?

How do I become a better writer when I hate reading?

Leveling up and Getting Items!

Boss making me feel guilty for leaving the company at the end of my internship

How long would it take for sucrose to undergo hydrolysis in boiling water?



Nagiosgraph mouseover fails


Log transport and aggregation at scaleConfigure Zabbix to send email notifications through EximWeird Extended Information on Nagios Web UIMonitor ethernet traffic of windows host using check_snmp with nagiosNetwork monitoring library, or objects, for a cloudNagios3: Conditional operators for service checks?Adding custom service to nagiosgraphOverriding Nagios hostgroup service with host serviceMonitoring PostgreSQL replication with Nagios and check_postgres shows intermittent delay






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have setup Nagios 4 together with Nagiosgraph and they are both working perfect.



However the javascript Mouseover effect does not work.



I have copied the following line in ../nagios/share/ssi/common-header.ssi as mentioned in Nagiosgraph Documentation and it is the only line:



<script type="text/javascript" src="/nagiosgraph/nagiosgraph.js"></script>


However when I make a Mouseover effect over the Nagiosgraph icon I get the following error in apache error.log:



[Thu Nov 27 11:48:21 2014] [error] ../nagios/share/ssi/common-header.ssi: line 1: syntax error near unexpected token `<'
[Thu Nov 27 11:48:21 2014] [error] ../nagios/share/ssi/common-header.ssi: line 1: `<script type="text/javascript" src="/nagiosgraph/nagiosgraph.js"></script>'


Are there any ideas on how to resolve this?










share|improve this question




























    0















    I have setup Nagios 4 together with Nagiosgraph and they are both working perfect.



    However the javascript Mouseover effect does not work.



    I have copied the following line in ../nagios/share/ssi/common-header.ssi as mentioned in Nagiosgraph Documentation and it is the only line:



    <script type="text/javascript" src="/nagiosgraph/nagiosgraph.js"></script>


    However when I make a Mouseover effect over the Nagiosgraph icon I get the following error in apache error.log:



    [Thu Nov 27 11:48:21 2014] [error] ../nagios/share/ssi/common-header.ssi: line 1: syntax error near unexpected token `<'
    [Thu Nov 27 11:48:21 2014] [error] ../nagios/share/ssi/common-header.ssi: line 1: `<script type="text/javascript" src="/nagiosgraph/nagiosgraph.js"></script>'


    Are there any ideas on how to resolve this?










    share|improve this question
























      0












      0








      0








      I have setup Nagios 4 together with Nagiosgraph and they are both working perfect.



      However the javascript Mouseover effect does not work.



      I have copied the following line in ../nagios/share/ssi/common-header.ssi as mentioned in Nagiosgraph Documentation and it is the only line:



      <script type="text/javascript" src="/nagiosgraph/nagiosgraph.js"></script>


      However when I make a Mouseover effect over the Nagiosgraph icon I get the following error in apache error.log:



      [Thu Nov 27 11:48:21 2014] [error] ../nagios/share/ssi/common-header.ssi: line 1: syntax error near unexpected token `<'
      [Thu Nov 27 11:48:21 2014] [error] ../nagios/share/ssi/common-header.ssi: line 1: `<script type="text/javascript" src="/nagiosgraph/nagiosgraph.js"></script>'


      Are there any ideas on how to resolve this?










      share|improve this question














      I have setup Nagios 4 together with Nagiosgraph and they are both working perfect.



      However the javascript Mouseover effect does not work.



      I have copied the following line in ../nagios/share/ssi/common-header.ssi as mentioned in Nagiosgraph Documentation and it is the only line:



      <script type="text/javascript" src="/nagiosgraph/nagiosgraph.js"></script>


      However when I make a Mouseover effect over the Nagiosgraph icon I get the following error in apache error.log:



      [Thu Nov 27 11:48:21 2014] [error] ../nagios/share/ssi/common-header.ssi: line 1: syntax error near unexpected token `<'
      [Thu Nov 27 11:48:21 2014] [error] ../nagios/share/ssi/common-header.ssi: line 1: `<script type="text/javascript" src="/nagiosgraph/nagiosgraph.js"></script>'


      Are there any ideas on how to resolve this?







      monitoring nagios






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 27 '14 at 10:55









      trikeleftrikelef

      323421




      323421




















          2 Answers
          2






          active

          oldest

          votes


















          0














          Finally managed to resolve the issue.
          The following steps should be followed:




          1. The ../nagios/share/ssi/common-header.ssi file should be in shell script format:



             #!/bin/bash
            echo "<script type="text/javascript" src="/nagios/nagiosgraph.js"></script>"



          2. Also the file ../nagios/share/ssi/common-header.ssi should be readable and executable, which means I had to run the following command:



            chmod a+rx common-header.ssi






          share|improve this answer






























            -1














            1. The first step to installing nagiosgraph, is to download the debian package and install it. The package can be downloaded via WGET, here:

            a. http://www.mirrorservice.org/sites/downloads.sourceforge.net/n/na/nagiosgraph/nagiosgraph/1.4.4/nagiosgraph-1.4.4-2.deb



            1. Once you’ve run wget and have the debian installation file on your Alienvault system, you need to install it with the following command:

            a. dpkg –i nagiosgraph-1.4.4-2.deb



            1. The final piece of the install is to modify the file, /etc/nagios3/conf.d/generic-service_nagios2.cfg. In this file, you need to a the following line just above the register line.

            a. action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$' onMouseOver='showGraphPopup(this)' onMouseOut='hideGraphPopup()' rel='/nagiosgraph/cgi-bin/showgraph.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&period=week&rrdopts=-w+450+-j



             4. After that, you need to add the nagiosgraph javascript file to the nagios header with the following command:
            a. cp /usr/share/nagiosgraph/examples/nagiosgraph.ssi /usr/share/nagios3/htdocs/ssi/common-header.ssi


            5. Once you’re done modifying the file, you simple restart nagios3 and apache2 with the following commands:



            a. service nagios3 restart



            b. service apache2 restart






            share|improve this answer























            • As mentioned in the question NagiosGraph has been installed and is working perfectly. Could you please help with the MouseOver issue I have?

              – trikelef
              Jul 23 '15 at 8:46











            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f647516%2fnagiosgraph-mouseover-fails%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Finally managed to resolve the issue.
            The following steps should be followed:




            1. The ../nagios/share/ssi/common-header.ssi file should be in shell script format:



               #!/bin/bash
              echo "<script type="text/javascript" src="/nagios/nagiosgraph.js"></script>"



            2. Also the file ../nagios/share/ssi/common-header.ssi should be readable and executable, which means I had to run the following command:



              chmod a+rx common-header.ssi






            share|improve this answer



























              0














              Finally managed to resolve the issue.
              The following steps should be followed:




              1. The ../nagios/share/ssi/common-header.ssi file should be in shell script format:



                 #!/bin/bash
                echo "<script type="text/javascript" src="/nagios/nagiosgraph.js"></script>"



              2. Also the file ../nagios/share/ssi/common-header.ssi should be readable and executable, which means I had to run the following command:



                chmod a+rx common-header.ssi






              share|improve this answer

























                0












                0








                0







                Finally managed to resolve the issue.
                The following steps should be followed:




                1. The ../nagios/share/ssi/common-header.ssi file should be in shell script format:



                   #!/bin/bash
                  echo "<script type="text/javascript" src="/nagios/nagiosgraph.js"></script>"



                2. Also the file ../nagios/share/ssi/common-header.ssi should be readable and executable, which means I had to run the following command:



                  chmod a+rx common-header.ssi






                share|improve this answer













                Finally managed to resolve the issue.
                The following steps should be followed:




                1. The ../nagios/share/ssi/common-header.ssi file should be in shell script format:



                   #!/bin/bash
                  echo "<script type="text/javascript" src="/nagios/nagiosgraph.js"></script>"



                2. Also the file ../nagios/share/ssi/common-header.ssi should be readable and executable, which means I had to run the following command:



                  chmod a+rx common-header.ssi







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 30 at 13:57









                trikeleftrikelef

                323421




                323421























                    -1














                    1. The first step to installing nagiosgraph, is to download the debian package and install it. The package can be downloaded via WGET, here:

                    a. http://www.mirrorservice.org/sites/downloads.sourceforge.net/n/na/nagiosgraph/nagiosgraph/1.4.4/nagiosgraph-1.4.4-2.deb



                    1. Once you’ve run wget and have the debian installation file on your Alienvault system, you need to install it with the following command:

                    a. dpkg –i nagiosgraph-1.4.4-2.deb



                    1. The final piece of the install is to modify the file, /etc/nagios3/conf.d/generic-service_nagios2.cfg. In this file, you need to a the following line just above the register line.

                    a. action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$' onMouseOver='showGraphPopup(this)' onMouseOut='hideGraphPopup()' rel='/nagiosgraph/cgi-bin/showgraph.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&period=week&rrdopts=-w+450+-j



                     4. After that, you need to add the nagiosgraph javascript file to the nagios header with the following command:
                    a. cp /usr/share/nagiosgraph/examples/nagiosgraph.ssi /usr/share/nagios3/htdocs/ssi/common-header.ssi


                    5. Once you’re done modifying the file, you simple restart nagios3 and apache2 with the following commands:



                    a. service nagios3 restart



                    b. service apache2 restart






                    share|improve this answer























                    • As mentioned in the question NagiosGraph has been installed and is working perfectly. Could you please help with the MouseOver issue I have?

                      – trikelef
                      Jul 23 '15 at 8:46















                    -1














                    1. The first step to installing nagiosgraph, is to download the debian package and install it. The package can be downloaded via WGET, here:

                    a. http://www.mirrorservice.org/sites/downloads.sourceforge.net/n/na/nagiosgraph/nagiosgraph/1.4.4/nagiosgraph-1.4.4-2.deb



                    1. Once you’ve run wget and have the debian installation file on your Alienvault system, you need to install it with the following command:

                    a. dpkg –i nagiosgraph-1.4.4-2.deb



                    1. The final piece of the install is to modify the file, /etc/nagios3/conf.d/generic-service_nagios2.cfg. In this file, you need to a the following line just above the register line.

                    a. action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$' onMouseOver='showGraphPopup(this)' onMouseOut='hideGraphPopup()' rel='/nagiosgraph/cgi-bin/showgraph.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&period=week&rrdopts=-w+450+-j



                     4. After that, you need to add the nagiosgraph javascript file to the nagios header with the following command:
                    a. cp /usr/share/nagiosgraph/examples/nagiosgraph.ssi /usr/share/nagios3/htdocs/ssi/common-header.ssi


                    5. Once you’re done modifying the file, you simple restart nagios3 and apache2 with the following commands:



                    a. service nagios3 restart



                    b. service apache2 restart






                    share|improve this answer























                    • As mentioned in the question NagiosGraph has been installed and is working perfectly. Could you please help with the MouseOver issue I have?

                      – trikelef
                      Jul 23 '15 at 8:46













                    -1












                    -1








                    -1







                    1. The first step to installing nagiosgraph, is to download the debian package and install it. The package can be downloaded via WGET, here:

                    a. http://www.mirrorservice.org/sites/downloads.sourceforge.net/n/na/nagiosgraph/nagiosgraph/1.4.4/nagiosgraph-1.4.4-2.deb



                    1. Once you’ve run wget and have the debian installation file on your Alienvault system, you need to install it with the following command:

                    a. dpkg –i nagiosgraph-1.4.4-2.deb



                    1. The final piece of the install is to modify the file, /etc/nagios3/conf.d/generic-service_nagios2.cfg. In this file, you need to a the following line just above the register line.

                    a. action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$' onMouseOver='showGraphPopup(this)' onMouseOut='hideGraphPopup()' rel='/nagiosgraph/cgi-bin/showgraph.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&period=week&rrdopts=-w+450+-j



                     4. After that, you need to add the nagiosgraph javascript file to the nagios header with the following command:
                    a. cp /usr/share/nagiosgraph/examples/nagiosgraph.ssi /usr/share/nagios3/htdocs/ssi/common-header.ssi


                    5. Once you’re done modifying the file, you simple restart nagios3 and apache2 with the following commands:



                    a. service nagios3 restart



                    b. service apache2 restart






                    share|improve this answer













                    1. The first step to installing nagiosgraph, is to download the debian package and install it. The package can be downloaded via WGET, here:

                    a. http://www.mirrorservice.org/sites/downloads.sourceforge.net/n/na/nagiosgraph/nagiosgraph/1.4.4/nagiosgraph-1.4.4-2.deb



                    1. Once you’ve run wget and have the debian installation file on your Alienvault system, you need to install it with the following command:

                    a. dpkg –i nagiosgraph-1.4.4-2.deb



                    1. The final piece of the install is to modify the file, /etc/nagios3/conf.d/generic-service_nagios2.cfg. In this file, you need to a the following line just above the register line.

                    a. action_url /nagiosgraph/cgi-bin/show.cgi?host=$HOSTNAME$&service=$SERVICEDESC$' onMouseOver='showGraphPopup(this)' onMouseOut='hideGraphPopup()' rel='/nagiosgraph/cgi-bin/showgraph.cgi?host=$HOSTNAME$&service=$SERVICEDESC$&period=week&rrdopts=-w+450+-j



                     4. After that, you need to add the nagiosgraph javascript file to the nagios header with the following command:
                    a. cp /usr/share/nagiosgraph/examples/nagiosgraph.ssi /usr/share/nagios3/htdocs/ssi/common-header.ssi


                    5. Once you’re done modifying the file, you simple restart nagios3 and apache2 with the following commands:



                    a. service nagios3 restart



                    b. service apache2 restart







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jul 10 '15 at 18:28









                    Zach FinchamZach Fincham

                    1




                    1












                    • As mentioned in the question NagiosGraph has been installed and is working perfectly. Could you please help with the MouseOver issue I have?

                      – trikelef
                      Jul 23 '15 at 8:46

















                    • As mentioned in the question NagiosGraph has been installed and is working perfectly. Could you please help with the MouseOver issue I have?

                      – trikelef
                      Jul 23 '15 at 8:46
















                    As mentioned in the question NagiosGraph has been installed and is working perfectly. Could you please help with the MouseOver issue I have?

                    – trikelef
                    Jul 23 '15 at 8:46





                    As mentioned in the question NagiosGraph has been installed and is working perfectly. Could you please help with the MouseOver issue I have?

                    – trikelef
                    Jul 23 '15 at 8:46

















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f647516%2fnagiosgraph-mouseover-fails%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                    What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

                    Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?