Page 1 of 1
Nagios Metric component
Posted: Tue Dec 05, 2017 10:09 am
by aajibad1
Hi all,
I am working on an existing Nagios XI. I noticed the metric is not displaying any data . My question is, what plugin or what setting do I need that will make those data display. I appreciate your recommendation .
Screen Shot 2017-12-05 at 9.08.05 AM.png
Re: Nagios Metric component
Posted: Tue Dec 05, 2017 12:14 pm
by eloyd
Generally speaking, without knowing more about your specific configuration, you should be using the check_cpu_stats.sh plugin, which captures performance data that can then be used for metrics.
Re: Nagios Metric component
Posted: Tue Dec 05, 2017 1:17 pm
by aajibad1
I used the plugin. its not working
Re: Nagios Metric component
Posted: Tue Dec 05, 2017 3:51 pm
by dwhitfield
Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
If you get an error that PROFILE BUILD FAILED, please see
https://support.nagios.com/kb/article.p ... ategory=44
UPDATE: Profile received and shared with techs
Re: Nagios Metric component
Posted: Wed Dec 06, 2017 11:17 am
by aajibad1
I have sent you the system profile of all the Nagios server via PM
Re: Nagios Metric component
Posted: Wed Dec 06, 2017 5:51 pm
by kyang
You seem to have sent us 3 different profiles for 3 different servers?
Are all of these XI servers experiencing this issue with metrics? Or is it just one?
We aren't sure which one to look at.
Re: Nagios Metric component
Posted: Mon Dec 11, 2017 11:53 am
by aajibad1
All of the Nagios servers are having the same issue
Re: Nagios Metric component
Posted: Mon Dec 11, 2017 4:56 pm
by kyang
In all of your profiles, you are using
check_nt for a
CPU Usage service.
Did you add these by hand or through the wizard?
Here are my examples,
upload.png
The check_command is entirely different between the two.
My services are using the
check_xi_nsclient_service command instead of
check_nt
test1.PNG
I see both of my CPU Usage metrics.
test2.PNG
But when I change the command to use
check_nt, I get this...
test3.PNG
Are you able to change one of your CPU service checks to use
check_xi_nsclient_service command instead of
check_nt?
Let us know if that works or not.