Check_Openmanage - Performance Graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

Check_Openmanage - Performance Graph

Post by Gavin »

I've got check_openmanage working via. SSH / SNMP. However, I'm having trouble getting the pnp graphs to work.

The command I've created is simply called 'check_openmanage', and the perfdata output looks like this:

https://www.evernote.com/shard/s89/sh/1 ... &width=832

Out of the box, with the default pnp template, it looks like this (which is exactly what I'd expect):

https://www.evernote.com/shard/s89/sh/3 ... &width=832

When I add 'check_openmange.php' to the templates directory, I just get this:

https://www.evernote.com/shard/s89/sh/4 ... &width=832

Any ideas? This seems to be a really popular plugin, so I'd be surprised if the performance graphing couldn't be made to work.

Thanks,

Gavin
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Check_Openmanage - Performance Graph

Post by scottwilkerson »

This looks like the template is either malformed, or requires features that possible may not be available.

Can you attach your check_openmange.php as well as tail the error_log while trying to access the page to see if you are getting any errors

Code: Select all

tail -f /var/log/httpd/error_log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

Re: Check_Openmanage - Performance Graph

Post by Gavin »

Code: Select all

[Mon Mar 18 15:11:50 2013] [error] [client x] PHP Fatal error:  Using $this when not in object context in /usr/
local/nagios/share/pnp/templates/check_openmanage.php on line 92, referer: https://nagios.x.com/nagiosxi/perfgraphs/?&ho
st=hyperv01.x.x&service=Dell_OpenManage&source=1&view=1&start=&end=&startdate=&enddate=&mode=2&service_id=6287
The template is attached. Any ideas?

Thanks,

Gavin
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Check_Openmanage - Performance Graph

Post by scottwilkerson »

This template looks like it requires a newer version of pnp than is supported by XI. I'm not positive that this will work, but I grabbed a template from the version of check_openmanage from beforr they updated in and am attaching it here
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

Re: Check_Openmanage - Performance Graph

Post by Gavin »

No such luck. I guess this is just an incompatibility with the version of PNP installed on XI? Seems a shame, particularly as 'check_openmanage' is probably the best and most comprehensive Nagios Plugin out there.

Hopefully it'll work when PNP gets upgraded in a later release.

Thanks,

Gavin
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Check_Openmanage - Performance Graph

Post by scottwilkerson »

Darn..

We are going to have someone start working on the feasibility of upgrading to a later version on pnp...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Check_Openmanage - Performance Graph

Post by lmiltchev »

Gavin,
Hopefully it'll work when PNP gets upgraded in a later release.
If it's still not working then (after PNP gets upgraded), please, start a new thread. I am locking this one. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked