Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jan 08, 2011 3:31 am 
Offline
Senior Member

Joined: Sat Nov 13, 2010 3:05 am
Posts: 91
Website: http://www.graq.co.uk
I would like something that gets a list of the websites nginx is serving on a node and checks that they are working.

There does not appear to be an equivalent to Apache's VHOST_DUMP.

Preferably it would do a little more than just a 'ping'. Something a bit more than grabbing a server token. Perhaps following a link or two.

Any chance I can cobble this together from bits and bobs out there? Or is this a start from scratch project? Is it a stupid idea?


Top
   
 Post subject:
PostPosted: Sat Jan 08, 2011 3:54 am 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
I'm pretty sure MONIT will check a nginx process.


Top
   
 Post subject:
PostPosted: Sat Jan 08, 2011 4:07 am 
Offline
Senior Member

Joined: Sat Nov 13, 2010 3:05 am
Posts: 91
Website: http://www.graq.co.uk
vonskippy wrote:
I'm pretty sure MONIT will check a nginx process.
I did wonder at the time if I should have explicitly mentioned mmonit. That's what I meant by the server token. Mmonit will check a pid file for a process, or hit a token url. However, the issue is not whether nginx is working, but whether all the sites that nginx should be serving are working. If nginx isn't working at all, then none of the sites will work and everyone will know about it pretty quick.

At work, many of our clients open ping.com accounts for each and every one of their websites and "monitor the servers" that way. I want something similar, but a lot more automated.


Top
   
 Post subject:
PostPosted: Sat Jan 08, 2011 4:29 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Monit can check urls and specific files on urls so if it "Stops working" it will alert you. Works fine for me.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sat Jan 08, 2011 4:47 am 
Offline
Senior Member

Joined: Sat Nov 13, 2010 3:05 am
Posts: 91
Website: http://www.graq.co.uk
obs wrote:
Monit can check urls and specific files on urls so if it "Stops working" it will alert you. Works fine for me.

Is there a way to avoid having to manually update which URLs to check? Otherwise it seems quite a laborious task to update it for sites that come and go.


Top
   
 Post subject:
PostPosted: Sat Jan 08, 2011 4:44 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Well what I do is put each file in a separate config include so if the sites goes I just do rm file.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Sun Jan 09, 2011 11:35 am 
Offline
Senior Member

Joined: Sat Nov 13, 2010 3:05 am
Posts: 91
Website: http://www.graq.co.uk
obs wrote:
Well what I do is put each file in a separate config include so if the sites goes I just do rm file.
Presumably mmonit has some wild card file include syntax. It is still a manual thing to add them in the first place, and update them when they change (which they do!). I see where you are coming from, and it's OK for a site or two, but not something I would realistically commit to it on a larger scale.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group