Search found 8 matches

by dominicw
Thu Aug 08, 2013 12:35 pm
Forum: Open Source Nagios Projects
Topic: Ubuntu 12.04 LTS and Nagios
Replies: 15
Views: 6593

Re: Ubuntu 12.04 LTS and Nagios

Changed my config to this: root@h2200554:/etc/nagios3/conf.d# cat test.cfg define host{ use generic-host host_name google alias google address google.com check_command check_http } define service{ use generic-service host_name google service_description HTTP check_command check_http } AND ALL WORKS ...
by dominicw
Thu Aug 08, 2013 8:41 am
Forum: Open Source Nagios Projects
Topic: Ubuntu 12.04 LTS and Nagios
Replies: 15
Views: 6593

Re: Ubuntu 12.04 LTS and Nagios

/usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg [Most output cut out] Total Warnings: 0 Total Errors: 0 Restart Apache and Nagios, did go to the Nagios web interface -> Services -> HTTP -> Re-schedule the next check of this host -> Pressed Commit -> Pressed Done. Now the status is OK under the Services...
by dominicw
Wed Aug 07, 2013 2:13 pm
Forum: Open Source Nagios Projects
Topic: Ubuntu 12.04 LTS and Nagios
Replies: 15
Views: 6593

Re: Ubuntu 12.04 LTS and Nagios

Nope, installed only one time.
The only installations that I did after installing Nagios was installing Cacti.
by dominicw
Wed Aug 07, 2013 12:34 pm
Forum: Open Source Nagios Projects
Topic: Ubuntu 12.04 LTS and Nagios
Replies: 15
Views: 6593

Re: Ubuntu 12.04 LTS and Nagios

Edit: my mistake, I placed the text in /etc/nagios3/commands.cfg instead of stated above.
by dominicw
Wed Aug 07, 2013 12:22 pm
Forum: Open Source Nagios Projects
Topic: Ubuntu 12.04 LTS and Nagios
Replies: 15
Views: 6593

Re: Ubuntu 12.04 LTS and Nagios

I have added this to my /etc/nagios-plugins/config/http.cfg file. define command { command_name check_http command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ } But when I restart Nagios Core I receive the message: Processing object config file '/etc/nagios-plugins/config/http.cfg'... Warning: D...
by dominicw
Wed Aug 07, 2013 10:45 am
Forum: Open Source Nagios Projects
Topic: Ubuntu 12.04 LTS and Nagios
Replies: 15
Views: 6593

Re: Ubuntu 12.04 LTS and Nagios

Whoops sorry: root@h2200554:~# grep -5 check_http /etc/nagios3/conf.d/* /etc/nagios3/conf.d/services_nagios2.cfg-# check that web services are running /etc/nagios3/conf.d/services_nagios2.cfg-define service { /etc/nagios3/conf.d/services_nagios2.cfg- hostgroup_name http-servers /etc/nagios3/conf.d/s...
by dominicw
Wed Aug 07, 2013 12:41 am
Forum: Open Source Nagios Projects
Topic: Ubuntu 12.04 LTS and Nagios
Replies: 15
Views: 6593

Re: Ubuntu 12.04 LTS and Nagios

I am kinda new to Linux Ubuntu, so the output below doesn''t say everything to me. Is the output below something you can identify the problem with? Strange enough no output here. root@h2200554:~# su - nagios -c "/usr/lib/nagios/plugins/check_http -I google.com" root@h2200554:~# root@h22005...
by dominicw
Tue Aug 06, 2013 3:26 pm
Forum: Open Source Nagios Projects
Topic: Ubuntu 12.04 LTS and Nagios
Replies: 15
Views: 6593

Ubuntu 12.04 LTS and Nagios

Hi Guys, this is my first post on the forum, I hope I make this post in the correct section. I have installed Nagios on my Ubuntu server. Nagios is running, Apache also is running. When I want to monitor a website of mine Nagios says: Host State Information Host Status: DOWN (for 0d 0h 30m 44s) Stat...