Nagios nrpe


#1

So, I’ve deployed NRPE using the nagios cookbook. I’ve change the nagios server, how do I change the nrpe allowed host (since that is using the search mechanism to find the “monitoring” server?

Nikhil Shah / System Administrator
nshah@theorchard.com

The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com
Facebook / @orchtweets

Privileged And Confidential Communication.
This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and © are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited.


#2

Add it to allowed hosts: https://github.com/opscode-cookbooks/nagios/blob/master/attributes/client.rb#L77

  • node[‘nagios’][‘allowed_hosts’] - additional hosts that are allowed to connect to this client. Must be an array of strings (i.e.%w(test.host other.host)). These hosts are added in addition to 127.0.0.1 and IPs that are found via search.

Best Regards,
JJ Asghar
e: jj.asghar@peopleadmin.com | c: 512.619.0722 | o: 512.977.5876

From: Nikhil Shah <nshah@theorchard.commailto:nshah@theorchard.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Wednesday, September 4, 2013 11:32 AM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] nagios nrpe

So, I’ve deployed NRPE using the nagios cookbook. I’ve change the nagios server, how do I change the nrpe allowed host (since that is using the search mechanism to find the “monitoring” server?

Nikhil Shah / System Administrator
nshah@theorchard.commailto:drudolph@theorchard.com

The Orchard® / www.theorchard.comhttp://www.theorchard.com/

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.comhttp://www.dailyrindblog.com/
Facebookhttp://www.facebook.com/theorchard / @orchtweetshttp://www.twitter.com/orchtweets

Privileged And Confidential Communication.
This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and © are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited.