Search found 12 matches

by aristosv
Thu Dec 15, 2022 8:33 am
Forum: Open Source Nagios Projects
Topic: check website status, don't show 403 error
Replies: 3
Views: 15974

check website status, don't show 403 error

I am using the host definition below to monitor if a website is up. Nagios shows me that the website is up but also reports this warning. HTTP WARNING: HTTP/1.1 403 Forbidden - 395 bytes in 0.008 second response time define host { host_name hostnamehere.com alias hostname address hostnamehere.com ma...
by aristosv
Wed Jun 20, 2018 10:52 am
Forum: Open Source Nagios Projects
Topic: nagios core 4.4.0 installation instructions
Replies: 3
Views: 1082

Re: nagios core 4.4.0 installation instructions

Yes they have. I just tested the updated guide and it works.

A small detail, for Debian to be able to connect on github to download nagios core, and the plugins, you either have to install ca-certificates, or use the --no-check-certificate option with wget.

It should be noted in the guide.
Thanks
by aristosv
Tue Jun 19, 2018 2:52 pm
Forum: Open Source Nagios Projects
Topic: nagios core 4.4.0 installation instructions
Replies: 3
Views: 1082

nagios core 4.4.0 installation instructions

So, with the new nagios core version released a few hours ago, the installation instructions (at least for Debian 9) are no longer valid. The version mentioned in the installation guide is v4.3.4 (not 4.4.0) and the changelog does mention changes to the configure/make process and automatic `systemct...
by aristosv
Mon Apr 16, 2018 3:23 am
Forum: Open Source Nagios Projects
Topic: change the default check from ping to something else
Replies: 3
Views: 1143

change the default check from ping to something else

This is the host definition for one of the servers I want to monitor. define host { use linux-server host_name srv001 address 192.168.15.53 hostgroups hostgroup1 } define service { use generic-service host_name srv001 service_description process check_command check_remote_process } Under Current Sta...
by aristosv
Fri Apr 13, 2018 4:00 pm
Forum: Open Source Nagios Projects
Topic: I need the alert to be critical, not just a warning
Replies: 9
Views: 2106

Re: I need the alert to be critical, not just a warning

tried a bunch of things again, nothing worked. Maybe there's a better way? root@nagios:~# su nagios -c "/usr/local/nagios/libexec/check_by_ssh -H 192.168.1.51 -C 'pwd'" /home/nagios root@nagios:~# su nagios -c "/usr/local/nagios/libexec/check_by_ssh -H 192.168.1.51 -C '(output=$(pgrep...
by aristosv
Fri Apr 13, 2018 11:59 am
Forum: Open Source Nagios Projects
Topic: I need the alert to be critical, not just a warning
Replies: 9
Views: 2106

Re: I need the alert to be critical, not just a warning

I tried multiple combinations to fix this, it's just not working. It's a debian machine, using bash. root@nagios:~# su nagios -c "/usr/local/nagios/libexec/check_by_ssh -H 192.168.1.60 -C '(output=$(pgrep mpg123);return=$?;echo $output;if [ $return != 0 ];then exit 2;fi)'" Remote command e...
by aristosv
Fri Apr 13, 2018 5:49 am
Forum: Open Source Nagios Projects
Topic: I need the alert to be critical, not just a warning
Replies: 9
Views: 2106

Re: I need the alert to be critical, not just a warning

I am assuming you meant output=$(pgrep mpg123) , not output=$(pgrep nagios) This is my result with a server that's supposed to be offline su nagios -c "/usr/local/nagios/libexec/check_by_ssh -H 192.168.1.60 -C '(output=$(pgrep mpg123);return=$?;echo $output;if [ $return != 0 ];then exit 2;fi)'&...
by aristosv
Thu Apr 12, 2018 8:10 am
Forum: Open Source Nagios Projects
Topic: display alias on web interface
Replies: 3
Views: 1645

Re: display alias on web interface

Would it be safe to assume that since this a paid feature, it will never be coded into nagios core? Or that it will be difficult to get help in modifying the code, because why would someone help me have this feature for free? I chose nagios because everywhere I read, it was considered one of the old...
by aristosv
Thu Apr 12, 2018 12:37 am
Forum: Open Source Nagios Projects
Topic: display alias on web interface
Replies: 3
Views: 1645

display alias on web interface

Is it possible to show a host's alias on the web interface of nagios core?

Currently under hosts/services/hostgroups, only the hostname is displayed. I'm monitoring servers in 45 different locations though and I would like to see a bit more descriptive name for each server.

thanks