New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
OpenStatus v .6
clarity_64
Member
Does anyone have this working on a box yet? I am getting no connection from any of my boxes now that I have updated.
Comments
Hi, I haven't heard any other reports of issues with version 0.6.x. Are you using 0.6.x on both the clients and the server? Also, if you're on Debian, did you do apt-get update && apt-get upgrade? When you did so, you were probably asked if you wanted to keep your current config file or use the config file from the package - if you chose to use the one from the package, you'll need to edit the config file to point to your server.
I was not getting updates at all. So I reinstalled the server with the new packages. It keeps throwing a JSON error.
This is the error from the server trying to receive info from the local client.
2012-01-24 02:13:09,233 ERROR JSON error from 127.0.0.1
Can you please stop openstatus-server and client, and then start them in debug mode? /usr/bin/openstatus-server -d and /usr/bin/openstatus-client -d
Server.log
Client.log
Client.conf
Server.conf
Thanks. Stop the client with service openstatus-client stop then restart it in debug mode: /usr/bin/openstatus-client -d
That should print out the JSON that's being sent.
Alright. I think that I may have figured this out. There seems to be an error when you use the hostname as the IP. This used to work just fine. Did you remove that functionality?
You mean entering the hostname instead of the IP when adding clients in the web interface? I didn't change anything with regards to that. It was never intended to work with a hostname instead of IP there - if it did, it was purely coincidental.
Well, it used to work when I entered the hostname. Either way, it seems to be working when I use the IP now. Thanks for the help with this. I have another question though.
Can you tell me what I can do about this error? I never get any emails from the box, but it appears that it is attempting to send them.
Looks like a problem with your SMTP server. SMTPSenderRefused means that your SMTP server doesn't allow you to send mails with the sender name that you've specified. Check your SMTP server's settings and log files.
Thanks Nick. It seems like I have gotten it all squared away now.
Good to hear, @dclardy! I know that I have some work to do on OpenStatus to make issues like this easier to prevent/find/solve. Do mind sharing what the issue with the emails was so that I can add it to the FAQ?
I had send mail and Exim4 running at the same time. Complete user error!
Weird... I see my CentOS VPS online, but it keeps on sending/displaying me its down.
I didn't updated the conf though when i received the update. Dunno if it's that causing the prob.
Did you update the server section? Did you a hostname like me?
Any chance of removing the python-setproctitle requirement? It doesn't appear to be critical to the application but causes an error on CentOS 5.7 and cannot be installed on Debian 5 with apt-get because of it.
@LivingSoul, are you still having problems? Double check your configuration, and if you're still experiencing issues, please post your client.conf file and any relevant info from the log files.
@KuJoe: setproctitle shouldn't be causing any issues, it should continue gracefully without it. What version of Python do you have installed, and what's the error message? For Debian 5, make sure you're using the oldstable OpenStatus repo, and not stable.
@NickM, thanks for the info. The error is just "setproctitle module not loaded" but in CentOS it doesn't run as a service so it generates and e-mail when I run a cronjob for it (and I don't want to set MAILTO="" or else I might miss real errors). Just a thought though.
@KuJoe, ah, yes, that's purely an informational message It should probably be a debug message, instead of a warning. I've made the change in the git repo, so you should be able to grab the new file from there. Might be quicker for you to just change logger.warning to logger.debug on the line that generates that message, since that's all I've changed.
Gotcha! Thanks.
@NickM thanks also, I had wondered that on Lenny but just moved to testing on Squeeze boxes instead
Oh, and before I forget, any way you can set it to use a lock file like SCRD? This way you won't be able to have it running multiple times on the same server? It's not critical but sometimes there's a timing issue with my cronjob kicking off another instance. Just a suggestion.
@KuJoe, sure, I'll make sure that makes it into the next release.
Yes I did, but I didn't update the conf.. Hostname?
Yes I am.. My conf is just fine I guess (unless the CentOS version is updated already?)
people are still running lenny?
It seems...
Well, tbh, 2 of my 123systems boxes still have it, because their Debian 6 templates are a little bit broken (or their tools outdated) and you need to workaround some stuff.