Nagios Metric component

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
aajibad1
Posts: 36
Joined: Tue Nov 07, 2017 4:00 pm

Nagios Metric component

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Nagios Metric component

Post 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.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
aajibad1
Posts: 36
Joined: Tue Nov 07, 2017 4:00 pm

Re: Nagios Metric component

Post by aajibad1 »

I used the plugin. its not working
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios Metric component

Post 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
Last edited by dwhitfield on Wed Dec 06, 2017 4:06 pm, edited 1 time in total.
Reason: pm received
aajibad1
Posts: 36
Joined: Tue Nov 07, 2017 4:00 pm

Re: Nagios Metric component

Post by aajibad1 »

I have sent you the system profile of all the Nagios server via PM
kyang

Re: Nagios Metric component

Post 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.
aajibad1
Posts: 36
Joined: Tue Nov 07, 2017 4:00 pm

Re: Nagios Metric component

Post by aajibad1 »

All of the Nagios servers are having the same issue
kyang

Re: Nagios Metric component

Post 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.
You do not have the required permissions to view the files attached to this post.
Locked