find the SMP OIDs for CPU & Memory Usage

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

find the SMP OIDs for CPU & Memory Usage

Post by rnjie »

is there a way to find what OID's are beings used for a particular service to monitor on a particular host
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: find the SMP OIDs for CPU & Memory Usage

Post by gsmith »

Hi

In this screen capture I show you two ways to find the OID, you'll have to
rename the file from .txt to .mp4
oids.txt
Thanks
You do not have the required permissions to view the files attached to this post.
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

Re: find the SMP OIDs for CPU & Memory Usage

Post by rnjie »

i am not able to open the file even after renaming it, Please can you find another way?
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

Re: find the SMP OIDs for CPU & Memory Usage

Post by rnjie »

Never mind , i was able to play the video, However it doesnt show me any OIDs, just the performance data. see attachment below
You do not have the required permissions to view the files attached to this post.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: find the SMP OIDs for CPU & Memory Usage

Post by gsmith »

Hi,

Please follow the process that begins 33 seconds into the video. This process
uses the Core Config Manager to show the definition of the service.

Let me know what it shows you.

Thanks
rnjie
Posts: 157
Joined: Wed Mar 20, 2019 4:59 pm

Re: find the SMP OIDs for CPU & Memory Usage

Post by rnjie »

Am sorry but that doesnt show any OIds, it just shows the arguements used to monitor the service like in the attachment
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: find the SMP OIDs for CPU & Memory Usage

Post by benjaminsmith »

Hi,

I haven't had a chance to watch the video, but for any type of SNMP plugin, you'll usually find the OID's for each check hardcoded at the top of the script.

Nagivate to /usr/local/nagios/libexec and you'll find the plugin there, open it and find the system your are checking to see the OID strings. For example, on a Linux system, its:
# Linux load
my $linload_table= "1.3.6.1.4.1.2021.10.1"; # net-snmp load table
my $linload_name = "1.3.6.1.4.1.2021.10.1.2"; # text 'Load-1','Load-5', 'Load-15'
my $linload_load = "1.3.6.1.4.1.2021.10.1.3"; # effective load table
Let us know if that helps or if you have more questions. Thanks, Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked