Search found 3722 matches

by mcapra
Tue Jul 25, 2017 3:50 pm
Forum: Open Source Nagios Projects
Topic: Plugin auto discovery?
Replies: 7
Views: 3198

Re: Plugin auto discovery?

Check this plugin out: https://github.com/jpajicek/puppet/blob/master/nagios/files/server/plugins/check_cisco_wlc In it's current form it should allow you to check the numeric count of connected APs as well as whether or not a particular AP OperStatus is associated (based on its name). So if you kno...
by mcapra
Tue Jul 25, 2017 1:08 pm
Forum: Open Source Nagios Projects
Topic: Can I change a hostname used in the check?
Replies: 9
Views: 2807

Re: Can I change a hostname used in the check?

I think it might be more appropriate to change the address value of the host object unless you have modified your commands to use $HOSTNAME$ instead of $HOSTADDRESS$. The default check_ping command definition uses $HOSTADDRESS$: # 'check_ping' command definition define command{ command_name check_pi...
by mcapra
Tue Jul 25, 2017 12:46 pm
Forum: Open Source Nagios Projects
Topic: Nagios Acknowledge cmd.cgi takes more time
Replies: 6
Views: 2190

Re: Nagios Acknowledge cmd.cgi takes more time

cmd.cgi isn't doing anything more sophisticated than accepting a request and writing that request out to the external commands file: https://github.com/NagiosEnterprises/nagioscore/blob/master/cgi/cmd.c#L2138-L2144 That external commands file is then churned through by some sub-process within Nagios...
by mcapra
Tue Jul 25, 2017 10:40 am
Forum: Nagios Log Server
Topic: Logstash Daemon dead but pid file exists
Replies: 2
Views: 779

Re: Logstash Daemon dead but pid file exists

Can you share the output of the following commands executed from the CLI of the offending Nagios Log Server machine:

Code: Select all

service logstash restart
service logstash status
ps aux | grep java
ls -al /var/run/logstash
tail -n 100 /var/log/logstash/logstash.log
by mcapra
Tue Jul 25, 2017 10:29 am
Forum: Open Source Nagios Projects
Topic: Apache configuration
Replies: 7
Views: 7939

Re: Apache configuration

It would probably be better if nagios.domain.com and monitoring.domain.com were setup as separate virtual hosts with 301 redirects to nagiosmaster.domain.com rather than configuring them as aliases. Particularly if CNAME records already exist for the aforementioned.
by mcapra
Tue Jul 25, 2017 9:22 am
Forum: Nagios XI
Topic: Supress license expiring message
Replies: 2
Views: 47

Re: Supress license expiring message

I recall a feature request (ID 10315) for a "less annoying" renewal message. More discussion here:
https://support.nagios.com/forum/viewto ... 16&t=41442

Based on that thread's history, looks like it'll be in 5.5.0
by mcapra
Tue Jul 25, 2017 9:17 am
Forum: Nagios XI
Topic: Powershell script
Replies: 8
Views: 3196

Re: Powershell script

however I can't seem to get this to trigger as a warning. That logic would have to exist in the Powershell script. The script's exit code is generally what determines OK/WARNING/CRITICAL status. Alternatively you could wrap your check_nrpe execution in something that parses True or False into somet...
by mcapra
Tue Jul 25, 2017 9:10 am
Forum: Open Source Nagios Projects
Topic: How did Nagios update on it's own? How can I get running?
Replies: 21
Views: 8112

Re: How did Nagios update on it's own? How can I get running

It would be best to consult with your Red Hat administrator for the best course of action. I don't know your environment/organization and there may be underlying factors influencing the best course of action. so would i use the following command then once i get it reverted back to 3.5.1 from the VM ...
by mcapra
Tue Jul 25, 2017 9:00 am
Forum: Open Source Nagios Projects
Topic: unable to monitor few mssql database parameters
Replies: 7
Views: 2083

Re: unable to monitor few mssql database parameters

Does the MSSQL user's password have any special characters in it? Stuff like ! # $ ' " . Certain characters are reserved in Bash and may be causing parts of your command to break. A sequence of errors messages almost identical to yours was solved in this thread due to special characters in the ...
by mcapra
Tue Jul 25, 2017 8:42 am
Forum: Nagios XI
Topic: Deploy Nagios to monitor servers for Low Disk in Enterprise
Replies: 4
Views: 152

Re: Deploy Nagios to monitor servers for Low Disk in Enterpr

It depends on what you mean by "non-agent". Strictly speaking, no there isn't a way to monitor those metrics without the use of some sort of agent . If your concern is avoiding the installation of hundreds of copies of NSClient++ (or NCPA), you could leverage one of the native Windows moni...