[Penemo-users] Re: Cgi Functionality
Brought to you by:
njennings
From: '<ni...@na...> - 2002-03-26 21:26:05
|
Hi Jeff. (I'm cc'ing penemo-users to archive this information) On Tue, Mar 26, 2002 at 11:47:45AM -0500, Drury, Jeff wrote: > Greetings Nick, I have a couple of questions about the new version of > Penemo... after installing it I noticed pause buttons for each agent (nice > enhancement) however this is not what's shown on your webpage... did I > misconfigure something? I disable them for my website because I don't want people pausing my checks :) However, this concern is no longer applicable since the display on my website is not being used for real monitoring anymore. Perhaps I will enable them.... > I get the following error when running Penemo (I'll attach agent.conf): > > 13.175.192.105: http status : Argument "" isn't numeric in ne at > /usr/local/share/penemo/lib/penemo/agent.pm > line 537 (#1) > > (W) The indicated string was fed as an argument to an operator that > expected a numeric value instead. If you're fortunate the message > will identify which operator was so unfortunate. Hmm, well there are some areas of the code that don't do proper value checking, and these errors are just warnings. So unless the http check isn't working, I'd ignore it. When I get back into the code I am going to work on alot of these types of problems. > Finally, I can't get the pause function to work...when I use global pause it > appears like it's going to work --I'm able to input a time and click submit > but when I look at the page that's been generated it says: > > all agents paused until: 0 > > the html will be updated the next time penemo is run. > agents paused: > 13.142.96.82 > This appears to only be looking at the first agent and never pauses. When I > try to use the individual pause buttons I can input a time but when I hit > the submit button I get an internal server error... what's the proper > owner/grp/permissions for: > httpd > cgi-bin > penemo-admin.cgi > penemo The CGI and the penemo data directory are the only ones you should worry about, as far as permissions are concerned. It's pretty well explained in the install.txt (in the docs/ directory of the tar file). I don't have access to these files right now, so please look at them and if you have specific questions or things aren't working after you follow the steps (sorry the install isn't automated yet, thats another thing I need to work on), then please let me know. -- Nick Jennings |