Graph not showing for cloud servers

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Graph not showing for cloud servers

Post by vignesha »

Hello Team,

We have nagios xi server in cloud and we have 8 to 9 Microsoft Azure server need to be monitor in nagios so for that we have configured using Microsoft Azure Cloud server wizard through that we have added in nagios, but we are not getting any graphs for windows servers and as well for local server.

so how we can get the graphs for Microsoft Azure Cloud Server?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Graph not showing for cloud servers

Post by lmiltchev »

Not all checks return perfdata. Can you show us a screenshot of the Host Status Detail or Service Status Detail page for your host/service (the Advanced tab)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Graph not showing for cloud servers

Post by vignesha »

As requested, Please find the attachment for the same
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Graph not showing for cloud servers

Post by lmiltchev »

It seems like your check do return perfdata, so the issue may be caused by something else. Try following all of the steps, outlined in the KB article below to see if this is going to fix your issue. If you still cannot see graphs, post the /usr/local/nagios/var/npcd.log and /usr/local/nagios/var/perfdata.log on the forum (after increasing the verbosity).

Also, run the following commands and show the output in code wraps:

Code: Select all

ls -lad /usr/local/nagios/share/perfdata
ls -lad /usr/local/nagios/share/perfdata/DemoVM-WINDOWS2
ls -la /usr/local/nagios/share/perfdata/DemoVM-WINDOWS2
ps -ef | grep [c]ron
cat /etc/cron.d/nagiosxi
service npcd status
ls /usr/local/nagios/var/spool/xidpe | wc -l
ls /usr/local/nagios/var/spool/perfdata | wc -l
ls /usr/local/nagios/var/spool/checkresults | wc -l
uptime
chage -l nagios
Be sure to check out our Knowledgebase for helpful articles and solutions!
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Graph not showing for cloud servers

Post by vignesha »

Hi,

PFA outputs for the following commands.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Graph not showing for cloud servers

Post by lmiltchev »

There are no RRD files in the /usr/local/nagios/share/perfdata/DemoVM-WINDOWS2 directory, only the XML files. It seems like there is a problem with the rrdtool or missing packages. I see the following in the log:
2019-01-30 17:42:17 [16230] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
Can you run the following commands and show the output?

Code: Select all

which rrdtool
rrdtool
yum list installed |grep rrdtool
Also, post the /usr/local/nagios/etc/pnp/npcd.cfg and /usr/local/nagios/etc/pnp/process_perfdata.cfg files.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Graph not showing for cloud servers

Post by vignesha »

Hi lmiltchev,

PFA output for the following commands.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Graph not showing for cloud servers

Post by lmiltchev »

The rrdtool cannot run properly for you.
[root@nagiosvm ~]# rrdtool
rrdtool: symbol lookup error: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard
Running the above command should give you:

Code: Select all

[root@main-nagios-xi ~]# rrdtool
RRDtool 1.4.9  Copyright 1997-2013 by Tobias Oetiker <[email protected]>
               Compiled Feb 16 2015 13:44:33

Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, graphv,  dump, restore,
                last, lastupdate, first, info, fetch, tune,
                resize, xport, flushcached

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages
Are you running XI on a RHEL system? I found some bug reporst, stating that symbol reference to libpango that doesn't exist in some versions of RHEL 7. Several users claim that upgrading the glib2 package solves the issue. I even found an older forum post, mentioning that:

https://support.nagios.com/forum/viewto ... 16&t=51505
Be sure to check out our Knowledgebase for helpful articles and solutions!
vignesha
Posts: 115
Joined: Wed Oct 03, 2018 9:09 am

Re: Graph not showing for cloud servers

Post by vignesha »

Hi lmiltchev,
Yes, its sounds good
we are also using centos 7.5 and we upgraded glib2 package then the graphs started plotting in nagios.

Thanks for your support, you can close the ticket.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Graph not showing for cloud servers

Post by lmiltchev »

I am glad I could help! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked