Search found 1072 matches

Return to advanced search

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: Community Support
Topic: How to configure check_ddos.py plugin
Replies: 7
Views: 658

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: Community Support
Topic: JSON api start/ent
Replies: 2
Views: 347

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: Community Support
Topic: Duration
Replies: 16
Views: 1408

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: Community Support
Topic: Add a URL link to the status information
Replies: 9
Views: 787

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: Community Support
Topic: Status return nagios plugins using sed
Replies: 4
Views: 506

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: Community Support
Topic: Problems with disk size checks on Windows virtual machines
Replies: 9
Views: 953

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: Community Support
Topic: CRITICAL - Plugin timed out while executing system call.
Replies: 2
Views: 367

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: Community Support
Topic: writing a plugin, looking for advice on capability or other
Replies: 6
Views: 717

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: Community Support
Topic: Nagios core performance data
Replies: 4
Views: 794

Re: Nagios core configuration managment

If you're looking for a paid, supported solution, there's nothing much better than Nagios XI . Nagios XI only manages a single core instance though, not multiple. Nagios Fusion can offer an overview of multiple Nagios Core/XI instances, but not consolidated management of all of those instances. For ...
by mcapra
Thu Jul 18, 2019 10:28 am
 
Forum: Community Support
Topic: Nagios core configuration managment
Replies: 6
Views: 796
PreviousNext

Return to advanced search