Search found 2161 matches

Return to advanced search

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

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

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

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

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

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

Re: CRITICAL - Plugin timed out while executing system call.

A related thread: https://support.nagios.com/forum/viewtopic.php?f=7&t=44016 Nagios has some internal timeouts that apply to all plugin executions. SNMP is sloooowwwww. If your snmpget command takes longer than 60 seconds to return, you may be hitting the service_check_timeout limit, which trigg...
by mcapra
Mon Aug 26, 2019 1:49 pm
 
Forum: Nagios Core
Topic: CRITICAL - Plugin timed out while executing system call.
Replies: 2
Views: 123

Re: WindowsEventID Monitoring

The solution is to either sign that script with an authority your system/organization likes, or to change the Powershell execution policy to allow unsigned (or remote signed) scripts to be executed: http://tritoneco.com/2014/02/21/fix-for-powershell-script-not-digitally-signed/ Here's more info in a...
by mcapra
Wed Aug 14, 2019 12:52 pm
 
Forum: Nagios XI
Topic: WindowsEventID Monitoring
Replies: 12
Views: 377

Re: writing a plugin, looking for advice on capability or ot

Really sounds like you're looking for a custom event handler rather than a traditional Nagios plugin.

But yeah, all of that sounds very doable on a basic level and even something very typical of what people generally do with event handlers.
by mcapra
Tue Aug 13, 2019 2:49 pm
 
Forum: Nagios Core
Topic: writing a plugin, looking for advice on capability or other
Replies: 6
Views: 231

Re: Nagios core performance data

If you're willing to throw money at the problem, Nagios XI has pretty seamless integrations for performance data. Migrating from Core to XI is relatively painless: https://assets.nagios.com/downloads/nagiosxi/docs/Migrating-From-Nagios-Core-To-Nagios-XI.pdf If you're looking for something free, I'd ...
by mcapra
Mon Aug 12, 2019 2:44 pm
 
Forum: Nagios Core
Topic: Nagios core performance data
Replies: 4
Views: 173
PreviousNext

Return to advanced search