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;
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
add a comment |
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
add a comment |
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
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
monitoring nagios
asked Nov 27 '14 at 10:55
trikeleftrikelef
323421
323421
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Finally managed to resolve the issue.
The following steps should be followed:
The
../nagios/share/ssi/common-header.ssifile should be in shell script format:#!/bin/bash
echo "<script type="text/javascript" src="/nagios/nagiosgraph.js"></script>"Also the file
../nagios/share/ssi/common-header.ssishould be readable and executable, which means I had to run the following command:chmod a+rx common-header.ssi
add a comment |
- 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
- 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
- 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
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Finally managed to resolve the issue.
The following steps should be followed:
The
../nagios/share/ssi/common-header.ssifile should be in shell script format:#!/bin/bash
echo "<script type="text/javascript" src="/nagios/nagiosgraph.js"></script>"Also the file
../nagios/share/ssi/common-header.ssishould be readable and executable, which means I had to run the following command:chmod a+rx common-header.ssi
add a comment |
Finally managed to resolve the issue.
The following steps should be followed:
The
../nagios/share/ssi/common-header.ssifile should be in shell script format:#!/bin/bash
echo "<script type="text/javascript" src="/nagios/nagiosgraph.js"></script>"Also the file
../nagios/share/ssi/common-header.ssishould be readable and executable, which means I had to run the following command:chmod a+rx common-header.ssi
add a comment |
Finally managed to resolve the issue.
The following steps should be followed:
The
../nagios/share/ssi/common-header.ssifile should be in shell script format:#!/bin/bash
echo "<script type="text/javascript" src="/nagios/nagiosgraph.js"></script>"Also the file
../nagios/share/ssi/common-header.ssishould be readable and executable, which means I had to run the following command:chmod a+rx common-header.ssi
Finally managed to resolve the issue.
The following steps should be followed:
The
../nagios/share/ssi/common-header.ssifile should be in shell script format:#!/bin/bash
echo "<script type="text/javascript" src="/nagios/nagiosgraph.js"></script>"Also the file
../nagios/share/ssi/common-header.ssishould be readable and executable, which means I had to run the following command:chmod a+rx common-header.ssi
answered May 30 at 13:57
trikeleftrikelef
323421
323421
add a comment |
add a comment |
- 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
- 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
- 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
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
add a comment |
- 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
- 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
- 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
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
add a comment |
- 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
- 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
- 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
- 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
- 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
- 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
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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