No graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

No graphs

Post by hhlodge »

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.
ServiceDetail.png
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

Post by tonyyarusso »

Two things:
  1. Do any of these suggestions help? http://support.nagios.com/wiki/index.ph ... h_Problems
  2. 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:

    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.
    
    If instead you get something like this:

    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)
    
    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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: No graphs

Post by hhlodge »

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?
- Kyle
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: No graphs

Post by hhlodge »

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

Post by tonyyarusso »

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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: No graphs

Post by hhlodge »

Sure can.
NagiosPNP.png
You do not have the required permissions to view the files attached to this post.
- Kyle
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: No graphs

Post by mguthrie »

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?
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: No graphs

Post by hhlodge »

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
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: No graphs

Post by rdedon »

This most likely is what is causing it:

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-test
the itmon and nagiosxi difference as you mentioned having a different name.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
hhlodge
Posts: 206
Joined: Tue Mar 08, 2011 2:13 pm

Re: No graphs

Post by hhlodge »

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
Locked