Search found 2167 matches

Return to advanced search

Re: Nagios core mk-livestatus install error

You could try running make with ld in debug mode: https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary?rq=1 Like so: LD_DEBUG=all make all-recursive Bottom line is this isn't a Nagios Core or a mklivestatus problem, it's a problem with the environment on which you're...
by mcapra
Fri Oct 25, 2019 12:51 pm
 
Forum: Nagios Core
Topic: Nagios core mk-livestatus install error
Replies: 11
Views: 338

Re: How to configure check_ddos.py plugin

I'll assume this is the plugin you're referring to: https://exchange.nagios.org/directory/Plugins/Security/check_ddos/details All this plugin does under the hood is run a netstat command and parse the output: netstat -antu | grep SYN_RECV | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -rn ...
by mcapra
Fri Oct 25, 2019 12:42 pm
 
Forum: Nagios Core
Topic: How to configure check_ddos.py plugin
Replies: 7
Views: 235

Re: Log server priority and severity set to 0

You are sending a message from your Python code to the syslog input rule that comes pre-installed with Nagios Log Server. Problem is, your message is not syslog compliant ( RFC3164 ). The Nagios Log Server input rule is looking for a syslog formatted message, and you're sending it something complete...
by mcapra
Tue Oct 08, 2019 11:52 am
 
Forum: Nagios Log Server
Topic: Log server priority and severity set to 0
Replies: 5
Views: 212

Re: Sendmail Not Working

Are you using Nagios Core or Nagios XI? You posted in the Nagios Core section, but mention Nagios XI. Check your mail server logs if you have access to them. Many mail servers straight up reject any messages sent via sendmail, in which case you may need to configure an SMTP server instead to "p...
by mcapra
Mon Oct 07, 2019 10:45 am
 
Forum: Nagios XI
Topic: Sendmail Not Working
Replies: 5
Views: 211

Re: JSON api start/ent

"time_up": 1569920418, <-- How do I translate this into something meaningful? That looks like a Unix epoch to me: https://www.epochconverter.com/ Practically every main-stream programming language has standard libraries/tools for turning that into something human-readable. Also, practical...
by mcapra
Wed Oct 02, 2019 7:19 am
 
Forum: Nagios Core
Topic: JSON api start/ent
Replies: 2
Views: 135

Re: Nagios XI check_wmi_plus.pl clear text passwords

I did a Python implementation of executing generic WQL queries a while back: https://github.com/mcapra/nagios-check_wmi It's not quite as feature rich as check_wmi_plus, but it does circumvent the "executing wmic on the back-end" problem. You could just as well feed an encrypted password i...
by mcapra
Wed Sep 18, 2019 10:36 pm
 
Forum: Nagios XI
Topic: Nagios XI check_wmi_plus.pl clear text passwords
Replies: 5
Views: 171

Re: Windows check-certificate Unknown command(s) showing

[/settings/external scripts/] PSCheckCertificate=cmd /c echo scripts\Check-Certificate.ps1; exit($lastexitcode) | powershell.exe -command - In your nsclient.ini, you've named the command PSCheckCertificate. That is what you should be passing as the command name -c via check_nrpe: #check_nrpe -H 172...
by mcapra
Tue Sep 10, 2019 10:00 am
 
Forum: Nagios XI
Topic: Windows check-certificate Unknown command(s) showing
Replies: 13
Views: 427

Re: Can MariaDB be replaced with MySQL on local Nagios XI?

Depending on how it is done, I could see this creating some package conflicts, or issues with library dependencies, with future Nagios XI updates. But you could definitely offload the Nagios XI database needs to a a different server and avoid all of that: https://assets.nagios.com/downloads/nagiosxi...
by mcapra
Tue Sep 10, 2019 9:55 am
 
Forum: Nagios XI
Topic: Can MariaDB be replaced with MySQL on local Nagios XI?
Replies: 8
Views: 281

Re: Duration

Check the following configuration directives in your main Nagios Core configuration file to make sure they reflect your desired behavior: https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/configmain.html#retain_state_information retain_state_information state_retention_file retenti...
by mcapra
Mon Sep 09, 2019 8:01 am
 
Forum: Nagios Core
Topic: Duration
Replies: 16
Views: 442

Re: Add a URL link to the status information

You might be able to get a similar effect with notes for a particular host/service: https://support.nagios.com/forum/viewtopic.php?f=7&t=48790&p=252672#p252672 I also get into modifying the source code to add custom elements to the status.cgi page: https://support.nagios.com/forum/viewtopic....
by mcapra
Tue Sep 03, 2019 10:18 am
 
Forum: Nagios Core
Topic: Add a URL link to the status information
Replies: 9
Views: 295
PreviousNext

Return to advanced search