Search found 1088 matches

Return to advanced search

Re: check_snmp - Dividing Output

You could give this a try: https://exchange.nagios.org/directory/Plugins/Network-Protocols/SNMP/snmp-math-multiply-add/details Haven't used this plugin before, but the code looks like it does what you want. You'd simply multiply by 0.1 instead of dividing by 10. Assuming Nagios::Plugin does the thre...
by mcapra
Mon Dec 02, 2019 10:22 am
 
Forum: Community Support
Topic: check_snmp - Dividing Output
Replies: 2
Views: 1348

Re: Solr: check stats of cores

Here's a reasonably good Solr plugin for Nagios: https://github.com/cpganderton/nagios-solr Unfortunately it doesn't check the /select endpoint and would need to be extended to do so. I can't actually find one that does: https://github.com/alxgomz/nagios-plugin-alfresco-search-services/blob/master/c...
by mcapra
Mon Dec 02, 2019 10:08 am
 
Forum: Community Support
Topic: Solr: check stats of cores
Replies: 6
Views: 1794

Re: check_nrpe invalid packet type received from server

Here's a related KB article: https://support.nagios.com/kb/article.php?id=518 There's a section with some troubleshooting steps specific to NSClient++ that you can attempt. Also a related forums post: https://support.nagios.com/forum/viewtopic.php?f=6&t=42993 It would also be useful to know whic...
by mcapra
Thu Oct 31, 2019 11:46 am
 
Forum: Community Support
Topic: check_nrpe invalid packet type received from server
Replies: 8
Views: 5350

Re: check_ping 2.2.1 bug?

Granted I don't have access to the 2.1.4 RPM from EPEL, I'm not able to reproduce this using a separate 2.1.4 build against 2.2.1 in EPEL: # rpm -i nagios-plugins-2.1.4-3.el7.centos.x86_64.rpm warning: nagios-plugins-2.1.4-3.el7.centos.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID ac25decd: NOKEY...
by mcapra
Tue Oct 29, 2019 11:01 am
 
Forum: Community Support
Topic: check_ping 2.2.1 bug?
Replies: 9
Views: 1891

Re: check_ping 2.2.1 bug?

Looks as though check_ping hasn't changed in quite a long time: https://github.com/nagios-plugins/nagios-plugins/commits/master/plugins/check_ping.c $ sha256sum nagios-plugins-2.1.2/plugins/check_ping.c 746f4127c14c75d43d918c19975d13372198321bcbc6897cf37fb54bac6f9dcd *nagios-plugins-2.1.2/plugins/ch...
by mcapra
Mon Oct 28, 2019 1:55 pm
 
Forum: Community Support
Topic: check_ping 2.2.1 bug?
Replies: 9
Views: 1891

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: Community Support
Topic: Nagios core mk-livestatus install error
Replies: 11
Views: 1771

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

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

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

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: 1154
PreviousNext

Return to advanced search