Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
toobadsosad opened this issue May 16, 2019 · 3 comments

Comments

@toobadsosad
Copy link

toobadsosad commented May 16, 2019

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
Copy link
Author

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

@toobadsosad
Copy link
Author

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..

@ananttickoo
Copy link

can you please share the httpd config ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants