php-snmptraps icon indicating copy to clipboard operation
php-snmptraps copied to clipboard

Severity Page (All, Major, Medium, etc. ) and Host page not showing data

Open toobadsosad opened this issue 6 years ago • 3 comments

Severity Pages (All, Major, Medium, Minor, Unknown) are blank

Dashboard and Live page is no problem... populated fine.. checked as well on db... data is there..

Host Page showing Hosts, but after clicking on the host.. query showing blank..

Search page is OK no problem , can find datas...

any suggestions?

toobadsosad avatar May 16 '19 10:05 toobadsosad

i installed in in /var/www/html/phpsnmptrap/ not on www root.. but already edit the config.php accordingly...

toobadsosad avatar May 16 '19 10:05 toobadsosad

silly me.. it was a misconfig of config.php

/**

  •  BASE definition if snmptraps
    
  •  is not in root directory (e.g. /snmptraps/)
    

******************************/ if(!defined('BASE')) define('BASE', "/phpsnmptrap/");

... previously i was set it the BASE as "/phpsnmptrap/index.php"... , edit the correct way.. and the problem is gone...


apparently the sample config was showing index.php

/**

  •  BASE definition if snmptraps
    
  •  is not in root directory (e.g. /snmptraps/)
    

******************************/ if(!defined('BASE')) define('BASE', "/index.php");

seems need to be editted..

toobadsosad avatar May 16 '19 15:05 toobadsosad

can you please share the httpd config ?

ananttickoo avatar Dec 19 '19 18:12 ananttickoo