No graphs
No graphs
Hi,
Trying to get graphs going for a switch and everything seems set up correctly in that I have performance data for bandwidth showing (Performance Data: in=.001626Mb/s;20;50 out=.000104Mb/s;20;50), an RRD file exists and is current, yet I don't see a graph, just a widget to add the graph to a dashboard. Command used, as set up by the wizard is "$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$ ". Where should I be looking? I saw some mention of a pnp package, but I see no such package installed (CentOS 5.5). Could this be an issue? Thanks.
Trying to get graphs going for a switch and everything seems set up correctly in that I have performance data for bandwidth showing (Performance Data: in=.001626Mb/s;20;50 out=.000104Mb/s;20;50), an RRD file exists and is current, yet I don't see a graph, just a widget to add the graph to a dashboard. Command used, as set up by the wizard is "$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$ ". Where should I be looking? I saw some mention of a pnp package, but I see no such package installed (CentOS 5.5). Could this be an issue? Thanks.
You do not have the required permissions to view the files attached to this post.
Last edited by hhlodge on Thu Apr 07, 2011 10:57 am, edited 2 times in total.
- Kyle
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: No graphs
Two things:
- Do any of these suggestions help? http://support.nagios.com/wiki/index.ph ... h_Problems
- Does your XI server know that "psm-itmon.us-bottomline.root.bottomline.com" means it? To check, use the 'host' command on that system. You should get a response like this:
If instead you get something like this:
Code: Select all
[root@demo ~]# host nagios.com nagios.com has address 173.45.234.224 nagios.com mail is handled by 1 mx.fusemail.net.then you need to add an entry in /etc/hosts, with the IP address on the left, then a space (or tab), then that full domain name. The reasons for this is that XI notices what you are using in the browser to access it, and uses that in a few places to reference itself, so if you have a DNS record defined for your workstation that the XI server does not also have it will get confused.Code: Select all
[root@demo ~]# host psm-itmon.us-bottomline.root.bottomline.com Host psm-itmon.us-bottomline.root.bottomline.com not found: 3(NXDOMAIN)
Re: No graphs
1. I tried those prior to posting with no luck.
2. The XI server can indeed resolve that name and the IP is of the XI host, but the OS hostname is NOT psm-itmon. Would that cause the issue?
2. The XI server can indeed resolve that name and the IP is of the XI host, but the OS hostname is NOT psm-itmon. Would that cause the issue?
- Kyle
Re: No graphs
I made a local host entry on my workstation and repointed my browser to the correct hostname, but that did not resolve it.
- Kyle
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: No graphs
Can you view the graphs okay if you visit the raw interface directly? eg. http://192.168.5.61/nagios/pnp/ , replacing your server address.
Re: No graphs
Sure can.
You do not have the required permissions to view the files attached to this post.
- Kyle
Re: No graphs
The graphs are pulled from that PNP interface through an internal proxy. It builds the URL with a php function that asks apache:
- What is my server name? If a server name isn't specified, it builds the URL from the server's IP address.
Are you using a port other than port 80?
Is there anything on your system you can think of that might alter a process like the one descibed above?
- What is my server name? If a server name isn't specified, it builds the URL from the server's IP address.
Are you using a port other than port 80?
Is there anything on your system you can think of that might alter a process like the one descibed above?
Re: No graphs
Hmm. Apache was configured as psm-itmon (via the Admin->Manage System Config->Program URL), different from the hostname. I've set all I can find all to psm-nagiosxi and restarted all services to no avail. And I am default port 80.
- Kyle
Re: No graphs
This most likely is what is causing it:
the itmon and nagiosxi difference as you mentioned having a different name.
Code: Select all
http://psm-itmon.us-bottomline.root.bottomline.com/nagiosxi
http://psm-nagiosxi.us-bottomline.root.bottomline.com/nagios/pnp/index.php?host=foundry-testRe: No graphs
I've got the names in sync in every configuration and file I can find, after a find -exec grep walk. Could remnants be buried somewhere else, a database perhaps?
- Kyle