- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Nagios NRPE + sudo + hpacucli not working
Operating System - Linux
1753774
Members
7176
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2009 07:26 AM
тАО04-24-2009 07:26 AM
Re: Nagios NRPE + sudo + hpacucli not working
/etc/sudoers:
nagios ALL = NOPASSWD: /usr/sbin/hpacucli controller slot=0 ld all show
nagios ALL = NOPASSWD: /usr/sbin/hpacucli controller slot=0 ld all show
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 09:07 AM
тАО05-04-2009 09:07 AM
Re: Nagios NRPE + sudo + hpacucli not working
I know this is closed but to add my experience;
My sudoers file has the following,
nagios ALL=NOPASSWD:/usr/sbin/hpacucli
This has worked for several months without issue.
Instead of the check_array plugin I am using a script, but HP says it doesn't matter.
What has been an issue is that the array check via hpacucli is not supported and has caused some of our systems to crash and not reboot. Feedback from HP says that even though there is this hpacucli check option it is not intended to query the array for prolonged periods. HP says that doing the hpacucli forces the array to init and flush the buffers. Most of the time this is not a concern as it will ride out. But watch out for when it does come back and bite you.
If a system does crash check the messages file. The last entry is a nagios sudo to run the hpacucli.
My sudoers file has the following,
nagios ALL=NOPASSWD:/usr/sbin/hpacucli
This has worked for several months without issue.
Instead of the check_array plugin I am using a script, but HP says it doesn't matter.
What has been an issue is that the array check via hpacucli is not supported and has caused some of our systems to crash and not reboot. Feedback from HP says that even though there is this hpacucli check option it is not intended to query the array for prolonged periods. HP says that doing the hpacucli forces the array to init and flush the buffers. Most of the time this is not a concern as it will ride out. But watch out for when it does come back and bite you.
If a system does crash check the messages file. The last entry is a nagios sudo to run the hpacucli.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2009 09:43 PM
тАО05-04-2009 09:43 PM
Re: Nagios NRPE + sudo + hpacucli not working
thanks for the tip ...
should add that the real solution for this was to uncomment "Defaults requiretty" in /etc/sudoers.
should add that the real solution for this was to uncomment "Defaults requiretty" in /etc/sudoers.
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP