Search found 11 matches

by Toontje
Fri May 31, 2013 3:26 pm
Forum: Open Source Nagios Projects
Topic: [SOLVED] Starting with Nagios, monitorred site down
Replies: 21
Views: 8380

[SOLVED]Starting with Nagios, monitorred site down when it's

THAT WAS IT!!!! All green now!

Thanks for all the help!

Ton.
by Toontje
Fri May 31, 2013 1:29 pm
Forum: Open Source Nagios Projects
Topic: [SOLVED] Starting with Nagios, monitorred site down
Replies: 21
Views: 8380

Re: Starting with Nagios, monitorred site down when it's not

I found this in checkcommands.cfg

Code: Select all

define command{
        command_name                    check_host_alive
        command_line                    $USER1$/check_icmp -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1
}
by Toontje
Fri May 31, 2013 10:11 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] Starting with Nagios, monitorred site down
Replies: 21
Views: 8380

Re: Starting with Nagios, monitorred site down when it's not

Nagios will still require that the check-host-alive be defined in a cfg *somewhere*. This is the command definition we want to see. Ok, will do. However, why is it that not all websites give me the same error then? And second, if the command doesn't exist, where does the "Network unreachable&q...
by Toontje
Thu May 30, 2013 2:35 pm
Forum: Open Source Nagios Projects
Topic: [SOLVED] Starting with Nagios, monitorred site down
Replies: 21
Views: 8380

Re: Starting with Nagios, monitorred site down when it's not

ton@eeepc:~$ dpkg -s nagios-plugins-basic Package: nagios-plugins-basic Status: install ok installed Priority: extra Section: net Installed-Size: 1916 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Architecture: i386 Source: nagios-plugins Version: 1.4.15-5ubuntu3 Replaces: n...
by Toontje
Thu May 30, 2013 2:09 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] Starting with Nagios, monitorred site down
Replies: 21
Views: 8380

Re: Starting with Nagios, monitorred site down when it's not

In commands.cfg ################################################################################ # HOST CHECK COMMANDS ################################################################################ # On Debian, check-host-alive is being defined from within the # nagios-plugins-basic package I do h...
by Toontje
Wed May 29, 2013 8:36 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] Starting with Nagios, monitorred site down
Replies: 21
Views: 8380

Re: Starting with Nagios, monitorred site down when it's not

Code: Select all

root@eeepc:/usr/lib/nagios/plugins# ./check_ping -H  www.machielsen.net -w 200,50% -c 500,100%
PING OK - Packet loss = 0%, RTA = 48.79 ms|rta=48.789001ms;200.000000;500.000000;0.000000 pl=0%;50;100;0
by Toontje
Mon May 27, 2013 2:12 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] Starting with Nagios, monitorred site down
Replies: 21
Views: 8380

Re: Starting with Nagios, monitorred site down when it's not

Did you follow the outlines for creating host/service definitions here?: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html As far as i can see, yes. I would also recommend you verify the config files, let us know if you see any errors returned: http://nagios.sourceforge.net/docs/3_0/ver...
by Toontje
Fri May 24, 2013 11:23 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] Starting with Nagios, monitorred site down
Replies: 21
Views: 8380

Re: Starting with Nagios, monitorred site down when it's not

# Generic host definition template - This is NOT a real host, just a template! define host{ name website ; The name of this host template parents Ono_Router notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Fl...
by Toontje
Fri May 24, 2013 7:16 am
Forum: Open Source Nagios Projects
Topic: [SOLVED] Starting with Nagios, monitorred site down
Replies: 21
Views: 8380

Re: Starting with Nagios, monitorred site down when it's not

# check that web services are running define service { hostgroup_name websites service_description Check Web check_command check_http use generic-service notification_interval 0 ; set > 0 if you want to be renotified }
by Toontje
Thu May 23, 2013 1:59 pm
Forum: Open Source Nagios Projects
Topic: [SOLVED] Starting with Nagios, monitorred site down
Replies: 21
Views: 8380

Re: Starting with Nagios, monitorred site down when it's not

Example host definition: define host{ use website ; Name of host template to use host_name www.machielsen.net alias www.machielsen.net address www.machielsen.net } Then, when i ping the host: /etc/nagios3/objects/hosts/websites$ ping www.machielsen.net PING www.machielsen.net (217.160.225.132) 56(84...