Search found 2155 matches

Return to advanced search

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: 71

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: 102

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: 67

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: 99

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: 253

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: 153

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: 277

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: 159

Re: Status return nagios plugins using sed

http://nagios-plugins.org/doc/guidelines.html Piping into sed is going to overwrite the exit code that was returned by the check_icmp plugin. You're seeing "OK" because your final sed command in the chain is returning 0 for the exit code. Your Bash logic should include something to make su...
by mcapra
Thu Aug 29, 2019 12:40 pm
 
Forum: Nagios Core
Topic: Status return nagios plugins using sed
Replies: 4
Views: 142

Re: Problems with disk size checks on Windows virtual machin

Which version of NSClient++ is running on the Windows VMs? It's going to influence how filters for your check_nrpe executions are written. Here's a thread from the customer support section in which lmiltchev offers some logic to filter out \\?\Volume records from the check_drivesize results: https:/...
by mcapra
Tue Aug 27, 2019 1:35 pm
 
Forum: Nagios Core
Topic: Problems with disk size checks on Windows virtual machines
Replies: 9
Views: 213
Next

Return to advanced search