Nagios: Nagtrap does show sourcecode instead of a webpage

Yesterday I moved my nagios-server to a newer hardware and started to do all from scratch (good learning lesson on mistakes).

One tool for nagios trap-administration is a project called nagtrap (Nagtrap).
The installation of the tool is quite easy. Just extract the tar file and copy it to the webservers root directory. What is not easy, or often overread is the fact that this tool needs a php variable enabled.

short_open_tag = On
By default on php5 this one is disabled. By enabling it, the webpage of nagtrap will be shown instead of the sourcecode.

Advertisements
This entry was posted in Nagios and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.