Monitoring IPCop via nrpe

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring IPCop via nrpe

Post by tmcdonald »

I meant maybe you have localhost blocked for some reason, but yea I guess that was somewhat of a dumb question on my part :D

Here's a smarter question: Would you have enabled IPv6 at all? Take a look at /etc/hosts and see if maybe localhost is preferring IPv6 over IPv4. Try running "dig localhost" and post the output.

I'd be willing to bet it works with 127.0.0.1 instead of localhost.
Former Nagios employee
mkot
Posts: 68
Joined: Tue Feb 25, 2014 1:47 am
Location: Poland

Re: Monitoring IPCop via nrpe

Post by mkot »

/etc/hosts from monitored host:

Code: Select all

127.0.0.1       localhost
172.17.24.12    domena-wa
192.168.1.4     domena-pn
# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

and dig localhost

Code: Select all

root@domena-wa:~# dig localhost

; <<>> DiG 9.7.3 <<>> localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13710
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;localhost.                     IN      A

;; ANSWER SECTION:
localhost.              600     IN      A       127.0.0.1

;; Query time: 8 msec
;; SERVER: 172.17.24.5#53(172.17.24.5)
;; WHEN: Sat Mar 29 11:55:55 2014
;; MSG SIZE  rcvd: 43
mkot
Posts: 68
Joined: Tue Feb 25, 2014 1:47 am
Location: Poland

Re: Monitoring IPCop via nrpe

Post by mkot »

Ok, I configured nrpe and commands for monitoring servers with IPCop (I'll put later procedure - HOWTO, because it may be difficult ;)).


Back to hardware raid monitoring, the issue is still actual :(
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring IPCop via nrpe

Post by tmcdonald »

mkot wrote:Ok, I configured nrpe and commands for monitoring servers with IPCop (I'll put later procedure - HOWTO, because it may be difficult ;)).


Back to hardware raid monitoring, the issue is still actual :(
Are you saying the current issue with monitoring IPCop with NRPE is fixed? If so I'll be closing this thread as solved. If not, did using 127.0.0.1 work for you?
Former Nagios employee
mkot
Posts: 68
Joined: Tue Feb 25, 2014 1:47 am
Location: Poland

Re: Monitoring IPCop via nrpe

Post by mkot »

Hi, I configured IPCop monitoring, if you want I'll write what I've done to configure it.

I'll open new thread for issue with monitoring hardware raid because I still get UNKNOWN message...
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitoring IPCop via nrpe

Post by abrist »

mkot wrote:Hi, I configured IPCop monitoring, if you want I'll write what I've done to configure it.
Write-ups and how-tos are always welcome. We can leave this thread open for the write-up, or you can always submit it to the nagios exchange.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
mkot
Posts: 68
Joined: Tue Feb 25, 2014 1:47 am
Location: Poland

Re: Monitoring IPCop via nrpe

Post by mkot »

Ok, give me a minute and I'll write it and add here ;)
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Monitoring IPCop via nrpe

Post by slansing »

I would also definitely recommend posting it on a blog, or source such as that, and then linking it and submitting a post to our exchange site, that way, users who are looking to do this and are searching through exchange will happen upon it as well.

http://exchange.nagios.org/
mkot
Posts: 68
Joined: Tue Feb 25, 2014 1:47 am
Location: Poland

Re: Monitoring IPCop via nrpe

Post by mkot »

Ok, Procedure is ready. Sorry for my bad english but I think it's clear to understand ;) The NRPE-IPCop plugin can be downloaded from http://ipcop.stankowic-development.net/index_en.php (it has more than 2MB so I can't attach it here).

EDIT:
I'd like to register at exchange.nagios.org but when I put Register button it shows me ReCaptcha ERROR but on the site I can't see any captcha field (Chromium, Forefox, IE11).
Attachments
nrpe-ipcop.7z
NRPE IPCop installation guide and plugins and files importand for run these plugins at IPCopr 2.1.2 Router.
(750.46 KiB) Downloaded 208 times
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring IPCop via nrpe

Post by scottwilkerson »

We just fix the registration on exchange. Sorry about that

Thanks!
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked