lozzd/Nagdash

does Nagdash like Nginx/php-fpm?

Opened this issue · 5 comments

i can't get it to load with nginx/php-frm... does it need apache?

get further with apache/php -- but now getting this on page load:

[Tue Jun 10 08:40:40 2014] [error]  PHP Notice:  Undefined index: nagdash_hostfilter in /var/www/nagdash/htdocs/nagdash.php on line 27
[Tue Jun 10 08:40:40 2014] [error]  PHP Notice:  Undefined variable: api_type in /var/www/nagdash/htdocs/nagdash.php on line 43
[Tue Jun 10 08:40:40 2014] [error]  PHP Notice:  Undefined index: url in /var/www/nagdash/phplib/utils.php on line 157
[Tue Jun 10 08:40:40 2014] [error]  PHP Notice:  Undefined variable: nagios_api in /var/www/nagdash/phplib/utils.php on line 295
[Tue Jun 10 08:40:40 2014] [error]  PHP Notice:  Undefined variable: state in /var/www/nagdash/phplib/utils.php on line 135
[Tue Jun 10 08:40:40 2014] [error]  PHP Notice:  Undefined variable: mapping in /var/www/nagdash/phplib/utils.php on line 135
[Tue Jun 10 08:40:40 2014] [error]  PHP Notice:  Undefined variable: curl_stats in /var/www/nagdash/phplib/utils.php on line 135
[Tue Jun 10 08:40:40 2014] [error]  PHP Warning:  array_merge(): Argument #2 is not an array in /var/www/nagdash/phplib/utils.php on line 158
[Tue Jun 10 08:40:40 2014] [error]  PHP Warning:  Invalid argument supplied for foreach() in /var/www/nagdash/phplib/utils.php on line 162
[Tue Jun 10 08:40:40 2014] [error]  PHP Warning:  Invalid argument supplied for foreach() in /var/www/nagdash/htdocs/nagdash.php on line 174

short tags are enabled (from what i can tell)

did you copy the example config file to config.php?

Yes. Without that it's just blank nothing. With Config there at least I
see skeleton of page but nothing loads. Curl check of nagios-API works
fine.

On Tuesday, June 10, 2014, Daniel Schauenberg notifications@github.com
wrote:

did you copy the example config file to config.php?


Reply to this email directly or view it on GitHub
#25 (comment).

@theflow - that did it - i'm pulling data now in nagdash! Thanks for pointer!