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
Check_Openmanage - Performance Graph
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check_Openmanage - Performance Graph
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
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_logRe: Check_Openmanage - Performance Graph
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=6287Thanks,
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
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.
Re: Check_Openmanage - Performance Graph
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
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
Darn..
We are going to have someone start working on the feasibility of upgrading to a later version on pnp...
We are going to have someone start working on the feasibility of upgrading to a later version on pnp...
Re: Check_Openmanage - Performance Graph
Gavin,
If it's still not working then (after PNP gets upgraded), please, start a new thread. I am locking this one. Thanks!Hopefully it'll work when PNP gets upgraded in a later release.
Be sure to check out our Knowledgebase for helpful articles and solutions!