Page 1 of 1

Performance Graphs from SNMP values

Posted: Thu Nov 17, 2016 9:30 am
by ab3pu
Sorry if this is a stupid question.

I am migrating our DC Environmental monitoring from Cacti to Nagios XI.

In Cacti we have the Temperature and Humidity graphs which allow us to track issues.

In Nagios XI I built an SNMP service to get current temperature and to setup the warning and critical temperatures, unfortunately it will not graph this data (more to the point I don't know how to make this service graph this data). Is this possible, am I missing a piece to the puzzle? Any assistance would be gratefully appreciated.

Thanks

Re: Performance Graphs from SNMP values

Posted: Thu Nov 17, 2016 11:40 am
by rkennedy
It sounds like the plugin isn't returning the performance data. We might be able to adjust this - could you post a couple things to look at?

1. A screenshot of your 'Advanced' tab from the 'Service Status' page
2. A copy of the service definitions for these services (or a screenshot of them from the Core Config Manager)

If they aren't returning it by default, we should be able to create a check / find a plugin that will work for you.

Re: Performance Graphs from SNMP values

Posted: Thu Nov 17, 2016 12:04 pm
by ab3pu
Here is the requested information

Code: Select all

define service {
        host_name                       liebertA
        service_description             Liebert Current Temp
        use                             xiwizard_snmp_service
        check_command                   check_xi_service_snmp! -o .1.3.6.1.4.1.476.1.42.3.4.1.2.3.1.3.1 -C Synygy05 -P 2c -u "Deg. F" -w 60:75 -c 55:80
        max_check_attempts              5
        check_interval                  5
        retry_interval                  1
        check_period                    xi_timeperiod_24x7
        notification_interval           60
        notification_period             xi_timeperiod_24x7
        contacts                        nagiosadmin
        _xiwizard                       snmp
        register                        1
        }  
[img]
performancedataproblem.jpg
[/img]

Re: Performance Graphs from SNMP values

Posted: Thu Nov 17, 2016 3:02 pm
by rkennedy
Try removing the -u "Deg. F" part, as I have a feeling that's messing up your metrics. Then, force a check once again, and look at that advanced tab. If it's coming back with something like 71;75;80 then that should be correct, give the graph an hour or so to generate.

If after an hour it does not generate, I would remove the RRD and it should regenerate itself once again. (it could be locked up with the 'deg f' data in your RRD which we don't want.)

You can do this by running the following -

Code: Select all

cd /usr/local/nagios/share/perfdata/liebertA/
ls
(look for the service name Liebert_Current_Temp as I am guessing the file names below, but this should be right.)
mv Liebert_Current_Temp.* /tmp/
Then let it regenerate and see if the current perfdata graphs are shown.

Re: Performance Graphs from SNMP values

Posted: Fri Nov 18, 2016 9:44 am
by ab3pu
That was the fix...thanks!!! :D

Re: Performance Graphs from SNMP values

Posted: Fri Nov 18, 2016 11:45 am
by rkennedy
Awesome, going to close this one out. :)

Feel free to make a new thread if you have questions in the future!