Search found 3722 matches

by mcapra
Mon Aug 23, 2021 9:06 am
Forum: Open Source Nagios Projects
Topic: CRITICAL 500 write failed (check_apache)
Replies: 1
Views: 1161

Re: CRITICAL 500 write failed (check_apache)

Where did you get this plugin from? Can you provide a URL or the raw script itself?
by mcapra
Fri Aug 20, 2021 9:01 am
Forum: Open Source Nagios Projects
Topic: Performance Graphs InfluxDB Nagflux issue
Replies: 2
Views: 1756

Re: Performance Graphs InfluxDB Nagflux issue

InfluxDB 2.0+ has a default username+password I believe: https://docs.influxdata.com/influxdb/v2.0/reference/release-notes/influxdb/#bug-fixes-4 Require user to set password during initial user onboarding. https://docs.influxdata.com/influxdb/v2.0/users/change-password/ If you're set on using Influx...
by mcapra
Wed Aug 18, 2021 6:26 pm
Forum: Open Source Nagios Projects
Topic: calling phone via script
Replies: 2
Views: 1300

Re: calling phone via script

You're using the script provided by the vendor I assume?
https://www.hw-group.com/support/how-to ... wg-sms-gw3

Try passing -v for verbose instead of -q for quiet, that might provide some hints.
by mcapra
Wed Aug 18, 2021 8:40 am
Forum: Nagios XI
Topic: check_wmi_plus and ntlm authentication
Replies: 15
Views: 6609

Re: check_wmi_plus and ntlm authentication

I haven't touched this code in ages, and it never really moved past the POC phase, but it's built on impacket which supports Kerberos: https://github.com/mcapra/nagios-check_wmi/blob/master/check_wmi.py Could try altering the authentication handler by just passing doKerberos=True https://github.com/...
by mcapra
Mon Aug 16, 2021 10:37 am
Forum: Nagios XI
Topic: check_wmi_plus.pl -checkdrivesize no historic perf data
Replies: 15
Views: 911

Re: check_wmi_plus.pl -checkdrivesize no historic perf data

So it seems like I may need to setup a chron job to run this script on a regular basis. You could also address this by reducing the cardinality -- add some filtering to the checkdrivesize module if you don't need size information for 100% of the drives that will ever exist on this system. My mind g...
by mcapra
Fri Aug 13, 2021 12:49 pm
Forum: Open Source Nagios Projects
Topic: Skip checking the battery condition by check_hpasm
Replies: 1
Views: 1153

Re: Skip checking the battery condition by check_hpasm

I know nothing about this plugin or the hardware it's meant for, but I think --blacklist is the way to do this. See the "Blacklisting" section of the documentation:
https://labs.consol.de/nagios/check_hpasm/index.html

Perhaps something like this:

Code: Select all

--blacklist daacb
by mcapra
Fri Aug 13, 2021 11:28 am
Forum: Open Source Nagios Projects
Topic: Auto-Generation of Availability Reports
Replies: 3
Views: 1505

Re: Auto-Generation of Availability Reports

Nagios XI has a concept of scheduled reports, but I don't know of anything like this that would exist in the Nagios Core ecosystem.

I'm sure with some clever scripting you could hit avail.cgi with some parameters on a cron job and pipe the output into an email.
by mcapra
Wed Aug 11, 2021 6:30 am
Forum: Open Source Nagios Projects
Topic: Security Issue: Nagios Core - Performance Graphs Using Influ
Replies: 1
Views: 1155

Re: Security Issue: Nagios Core - Performance Graphs Using I

I'd suggest shooting an email to security@nagios.com.

https://www.nagios.com/products/security/

I think a simple disclaimer at the top of the docs to the effect of "don't do this in prod, it exposes your influxdb instance to anything with a network connection" would go a long way.
by mcapra
Tue Aug 10, 2021 11:29 am
Forum: Open Source Nagios Projects
Topic: Error in Grant localhost Permission To PNP4Nagios Site
Replies: 6
Views: 2742

Re: Error in Grant localhost Permission To PNP4Nagios Site

I'd have to see the full contents of at least the files mentioned to have a clue of what's going on:

Code: Select all

/etc/apache2/apache2.conf
/etc/apache2/sites-enabled/pnp4nagios.conf
Was there particular documentation you were following to make this change?
by mcapra
Tue Aug 10, 2021 9:46 am
Forum: Open Source Nagios Projects
Topic: NRPE safe over public IP
Replies: 2
Views: 1336

Re: NRPE safe over public IP

I noticed that several of the servers are being queried over NRPE and referenced by their public IP address. Is this a security risk? It's not good practice to have any "monitoring stuff" be public facing, regardless of whether that's NRPE or NCPA or a Prometheus exporter or a Telegraf ag...