There's nothing like sending an email out to the public to help you figure things out.
By reading the nagvis source code, I learned that Nagvis had additional requirements. I suspect that Linux installs an extensive selection of PHP modules. BSD systems install very minimal packages. On FreeBSD 7, Nagvis needs the following PHP modules. php5-5.2.6 php5-gd-5.2.6 php5-mbstring-5.2.6 php5-mysql-5.2.6 php5-pcre-5.2.6 php5-session-5.2.6 php5-xml-5.2.6 Hopefully this will save some other person a few hours of annoyance... ==ml On Thu, Jul 10, 2008 at 02:44:46PM -0400, Michael W. Lucas wrote: > Hi, > > I'm running Nagios 3.0.2 with Nagvis 1.3 on FreeBSD 7/amd64. Nagvis > only gives me blank pages. What's more, I'm not getting any Nagvis > error information in the Web page, syslog, or the httpd error log. > Other PHP programs can produce error messages on this system. I'm > sure I can learn why Nagvis is producing blank pages, if I can get an > error message! > > The system has apache 2.2.8, graphviz 2.18, mysql 5.0.51a, and php > 5.2.6. php-info shows that I have mysql and gd support, and the fact > that I can see phpinfo tells me that PHP is working on the Web server. > > Apache is configured to display PHP errors with these lines in the > virtual host config: > > php_flag display_errors on > php_value error_reporting 2047 > > nagvis.ini.php contains the following uncommented entries: > > [global] > > [defaults] > backend="ndomy_1" > > [wui] > > [automap] > > [paths] > base="/usr/local/www/nagios/nagvis/" > > [backend_ndomy_1] > backendtype="ndomy" > dbname="nagios" > dbuser="nagios" > dbpass="nagios" > dbinstancename="default" > > [rotation_demo] > maps="demo,demo2" > interval=15 > > I've also tried setting DEBUG to TRUE in global.php, but still can't > see an error. > > If I put a faulty PHP script somewhere like > /usr/local/www/nagios/nagvis/test.php, I can browse to > https://<server>/nagios/nagvis/test.php and see the error. This tells > me that PHP can report errors. > > Any suggestions? I'd like to know why it's not working, but I'd > settle for knowing why Nagvis won't display an error message. > > Thanks, > ==ml > > -- > Michael W. Lucas [EMAIL PROTECTED], [EMAIL PROTECTED] > http://www.BlackHelicopters.org/~mwlucas/ > Now Shipping: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com > On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagvis-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagvis-users -- Michael W. Lucas [EMAIL PROTECTED], [EMAIL PROTECTED] http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagvis-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-users
