Search found 3722 matches

by mcapra
Thu Jul 20, 2017 10:12 am
Forum: Open Source Nagios Projects
Topic: Nagios CGI File is not working as Expected after the Upgrade
Replies: 19
Views: 10152

Re: Nagios CGI File is not working as Expected after the Upg

The only Nagios maintained "thing" (that I am aware of) that produces XML as part of the response body is NRDP, which definitely doesn't re-write the behaviors of CGIs. That page (/cgi-bin/status.cgi) should be producing structured HTML by default. Something like this: <html> <head> <link ...
by mcapra
Thu Jul 20, 2017 8:59 am
Forum: Open Source Nagios Projects
Topic: service monitoring in dual fail over servers
Replies: 11
Views: 6446

Re: service monitoring in dual fail over servers

Here's the github page for check_multi in case the previous website isn't working for you:
https://github.com/flackem/check_multi
by mcapra
Thu Jul 20, 2017 8:57 am
Forum: Open Source Nagios Projects
Topic: Nagios Monitoroing for Solaris Zonestat
Replies: 5
Views: 2559

Re: Nagios Monitoroing for Solaris Zonestat

The Nagios Exchange is a great place to look for that sort of stuff: https://exchange.nagios.org/ I wasn't able to find anything. Looking over some of the documentation for the zonestat command, I imagine a nagios-compatible wrapper could be written for it. It would require some scripting knowledge,...
by mcapra
Wed Jul 19, 2017 3:46 pm
Forum: Nagios Log Server
Topic: Cluster Failure
Replies: 9
Views: 182

Re: Cluster Failure

Sharing the contents of the Elasticsearch logs from both machines may be a good place to start:

Code: Select all

/var/log/elasticsearch/
Having a bunch of red indices and missing primary shards is definitely not good. Hopefully the logs can share some reasons why.
by mcapra
Wed Jul 19, 2017 9:57 am
Forum: Nagios XI
Topic: To have centralized database
Replies: 2
Views: 441

Re: To have centralized database

Nagios Fusion was built as a single point-of-visibility for several large Nagios XI/Core setups: https://www.nagios.com/products/nagios-fusion/ It also just had a major release with version 4. Take a look at some of the documentation/demos and see if that satisfies your use case. There's no document...
by mcapra
Wed Jul 19, 2017 9:48 am
Forum: Open Source Nagios Projects
Topic: SQL Server alert
Replies: 2
Views: 1170

Re: SQL Server alert

check_mysql_query is included with nagios-plugins: [root@nagios ~]# /usr/local/nagios/libexec/check_mysql_query -h check_mysql_query v2.2.1.6.g4103.dirty (nagios-plugins 2.2.1) Copyright (c) 1999-2014 Nagios Plugin Development Team <devel@nagios-plugins.org> This program checks a query result again...
by mcapra
Wed Jul 19, 2017 8:32 am
Forum: Nagios XI
Topic: Pass StartTime,Endtime Parameters in BackEnd URL API
Replies: 5
Views: 1476

Re: Pass StartTime,Endtime Parameters in BackEnd URL API

Refer to tgriep 's suggestion. The statehistory REST endpoint does roughly the same thing and has better granularity. Though i'm 90% sure the JSON cgis should work on versions of XI >5.0. I was using it on 5.2.7 way back when, which I think had Nagios Core 4.1.1 under the hood. I most recently did t...
by mcapra
Tue Jul 18, 2017 2:55 pm
Forum: Nagios XI
Topic: Warning notifications
Replies: 2
Views: 414

Re: Warning notifications

I don't think this is possible currently. There are a few feature requests addressing similar notification granularity for Nagios Core 5: https://github.com/NagiosEnterprises/nagioscore/issues/291 https://github.com/NagiosEnterprises/nagioscore/issues/328 There was some discussion in a previous post...
by mcapra
Tue Jul 18, 2017 11:41 am
Forum: Nagios XI
Topic: Pass StartTime,Endtime Parameters in BackEnd URL API
Replies: 5
Views: 1476

Re: Pass StartTime,Endtime Parameters in BackEnd URL API

I'm not sure if the XI REST API can do that (it probably can), but you can definitely do it with the JSON CGIs present in Nagios Core. http://your_nagios_host/nagios/jsonquery.html 2017_07_18_11_36_56_JSON_Query_Generator.png Note that the START and END times are Unix epochs. Which then, on the righ...
by mcapra
Tue Jul 18, 2017 11:26 am
Forum: Open Source Nagios Projects
Topic: General ping only monitoring
Replies: 12
Views: 7197

Re: General ping only monitoring

Typically, a Nagios host represents a single physical/virtual piece of equipment. Under that host, you may have multiple services running that you also need to keep track of. A single host may have a http server, a database, a dns server, irc server, samba share. Those are typically good candidates ...