#3212 add monitoring for darkserver01.phx2.fedoraproject.org
Closed: Fixed None Opened 12 years ago by kevin.

We have added a new service/server that should be monitored.

The server is darkserver01.phx2.fedoraproject.org and should get the regular nrpe monitoring that servers get.

Additionally, we should check:

https://darkserver.fedoraproject.org/serverversion

externally and confirm it returns something like: "{"server-version": "0.X"}"


I could do this.

Do I have access to the Nagios server and to darkserver01?

I've been working on this

Alright. I'm happy to help if I can.

Externally, the site https://darkserver.fedoraproject.org/serverversion returns the following information {"server-version": "0.5"}

i added a script for installation the monitor, any comments welcome.

Replying to [comment:6 arielb]:

i added a script for installation the monitor, any comments welcome.

Well, what we need here is to add the config to nagios to monitor the instance... the nrpe service should already be running on it and nagios should be running on noc01.

take a look at:
https://fedorahosted.org/fedora-infrastructure/ticket/3164
for another ticket similar to this... it added monitoring for another kind of server, but the base idea should be the same. The attachments there are patches against our puppet repo ( login to lockbox01, git clone /git/puppet)

See if you can work up something similar for this host and services...

Replying to [comment:7 kevin]:

Replying to [comment:6 arielb]:

i added a script for installation the monitor, any comments welcome.

Well, what we need here is to add the config to nagios to monitor the instance... the nrpe service should already be running on it and nagios should be running on noc01.

take a look at:
https://fedorahosted.org/fedora-infrastructure/ticket/3164
for another ticket similar to this... it added monitoring for another kind of server, but the base idea should be the same. The attachments there are patches against our puppet repo ( login to lockbox01, git clone /git/puppet)

See if you can work up something similar for this host and services...

ok, thanks for the explanation, i will review

Don't know if it's all that is needed but hope it helps =)

Yeah, although we don't really need the vpn one since it's in the same datacenter as our monitoring.

We still do want to try and do a custom check of:

https://darkserver.fedoraproject.org/serverversion

if possible too. So I will leave the ticket open for that.

I'm not exactly sure if I should put this under nagios or nagios-external directory, let me know if I need to change anything.

Looks good, we are in freeze now, but I can apply after freeze is over.

Thanks for working on this.

Done and commited. Thanks!

Login to comment on this ticket.

Metadata