Page 3 of 4
Re: Monitoring IPCop via nrpe
Posted: Fri Mar 28, 2014 1:23 pm
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.
Re: Monitoring IPCop via nrpe
Posted: Sat Mar 29, 2014 5:56 am
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
Re: Monitoring IPCop via nrpe
Posted: Mon Mar 31, 2014 4:48 am
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

Re: Monitoring IPCop via nrpe
Posted: Mon Mar 31, 2014 8:49 am
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?
Re: Monitoring IPCop via nrpe
Posted: Mon Mar 31, 2014 10:44 am
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...
Re: Monitoring IPCop via nrpe
Posted: Mon Mar 31, 2014 11:03 am
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.
Re: Monitoring IPCop via nrpe
Posted: Mon Mar 31, 2014 11:54 am
by mkot
Ok, give me a minute and I'll write it and add here

Re: Monitoring IPCop via nrpe
Posted: Mon Mar 31, 2014 12:12 pm
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/
Re: Monitoring IPCop via nrpe
Posted: Mon Mar 31, 2014 2:52 pm
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).
Re: Monitoring IPCop via nrpe
Posted: Mon Mar 31, 2014 4:08 pm
by scottwilkerson
We just fix the registration on exchange. Sorry about that
Thanks!