divagater wrote:You can have mixed MyISAM and InnoDB in the same database. The InnoDB tables are required for NPC. That requirement actually comes from ndoutils/ndo2db and I have no control over it.
That said, the table type will not be the cause of you not seeing data in NPC. If there is no data than your httpd error log should be throwing a FATAL error. Please tail your httpd error log and then reload NPC. Look for any fatals and post here.
Cheers,
Billy
Thanks for getting back to me Billy.
I've set up NPC again with InnoDB tables, and I still get the same result. NPC is installed fine but has no data, when there is data in the database. In the apache error log, it just mentions not being able to find three image files - I think this is due to a typo of some sort:
Code: Select all
[Thu Apr 30 16:23:37 2009] [error] [client 10.0.0.1] File does not exist: /usr/share/cacti/images/tab_mode_tree<br , referer: http://cacti.domain.com/cacti/plugins/npc/npc.php
[Thu Apr 30 16:23:37 2009] [error] [client 10.0.0.1] File does not exist: /usr/share/cacti/images/tab_mode_list<br , referer: http://cacti.domain.com/cacti/plugins/npc/npc.php
[Thu Apr 30 16:23:37 2009] [error] [client 10.0.0.1] File does not exist: /usr/share/cacti/images/tab_mode_preview<br , referer: http://cacti.domain.com/cacti/plugins/npc/npc.php
In the Technical Support section of the System Utilites area, under MySQL Table Information, it lists all the MyISAM tables but then has
Code: Select all
The Following Tables were Skipped Due to being INNODB
and then lists all the npc_ tables. There's also some tables from mactrack here.
Not sure how to explain this...any help really appreciated.
Cheers,
Andrew