Graph not showing for cloud servers
Graph not showing for cloud servers
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?
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?
Re: Graph not showing for cloud servers
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!
Re: Graph not showing for cloud servers
As requested, Please find the attachment for the same
You do not have the required permissions to view the files attached to this post.
Re: Graph not showing for cloud servers
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:
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 nagiosBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Graph not showing for cloud servers
Hi,
PFA outputs for the following commands.
PFA outputs for the following commands.
You do not have the required permissions to view the files attached to this post.
Re: Graph not showing for cloud servers
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:
Also, post the /usr/local/nagios/etc/pnp/npcd.cfg and /usr/local/nagios/etc/pnp/process_perfdata.cfg files.
Can you run the following commands and show the output?2019-01-30 17:42:17 [16230] [2] RRDs Perl Modules are not installed. Falling back to rrdtool system call.
Code: Select all
which rrdtool
rrdtool
yum list installed |grep rrdtoolBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Graph not showing for cloud servers
Hi lmiltchev,
PFA output for the following commands.
PFA output for the following commands.
You do not have the required permissions to view the files attached to this post.
Re: Graph not showing for cloud servers
The rrdtool cannot run properly for you.
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
Running the above command should give you:[root@nagiosvm ~]# rrdtool
rrdtool: symbol lookup error: /lib64/libpango-1.0.so.0: undefined symbol: g_log_structured_standard
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 manpageshttps://support.nagios.com/forum/viewto ... 16&t=51505
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Graph not showing for cloud servers
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.
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.
Re: Graph not showing for cloud servers
I am glad I could help! 
Be sure to check out our Knowledgebase for helpful articles and solutions!