Monotoring Website By

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
debashmit
Posts: 10
Joined: Wed Oct 10, 2012 12:17 am

Monotoring Website By

Post by debashmit »

Dear all,
Can you tell me how to monitor website up or down by nagios core.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Monotoring Website By

Post by slansing »

You may want to look at our exchange page on HTTP monitoring:

http://exchange.nagios.org/index.php?op ... check_http

There are many different plugins choosing one to fit your needs is something that is difficult for support staff to do for you, if you find some you like let us know and we can go from there.
User avatar
inventsekar
Posts: 37
Joined: Fri Jul 20, 2012 11:29 am

Re: Monotoring Website By

Post by inventsekar »

Hi,
Assuming that you already have a running Nagios Core setup,

Update your host config file with a website, say google:

define host{
use generic-host
host_name Google
alias Google
address 209.85.225.99
max_check_attempts 5
hostgroups website-monitoring
}

define service{
use generic-service
host_name Google
service_description http
check_command check_http
}

Verify the config and restart nagios service. thats it..all set...

Thanks,
Sekar
debashmit
Posts: 10
Joined: Wed Oct 10, 2012 12:17 am

Re: Monotoring Website By

Post by debashmit »

Thanks to all For valuable Reply.Finally I got by adding check_http.
User avatar
inventsekar
Posts: 37
Joined: Fri Jul 20, 2012 11:29 am

Re: Monotoring Website By

Post by inventsekar »

GoodGoodGood... nice to know that we could help you... thanks...

Sekar
Locked