Nagiostat problem - can't display graph page


#1

I got a problem to display the graph web page from Nagios using nagiostat. When I clicked on the graph icon to open web page such as localhost/nagiostat/nagiostat.cg … snake-ping, I got a page of all codes in nagiostat.cgi. Anyone know what is wrong, please help.

Thanks!

Kevin


#2

Has nagiostat ever worked for you? Or is this your first attempt.


#3

That is my first attempt. I am looking for a way to work with performance data in Nagios.

Kevin


#4

Did you put this in your apache?
ScriptAlias /nagiostat/ /usr/local/nagios/nagiostat/
<Directory /usr/local/nagios/nagiostat>
AllowOverride AuthConfig
Options +ExecCGI
Order allow,deny
Allow from all


#5

You are right. I missed ScriptAlias settings in Apache. The readme file in nagiostat is mentioned to add Alias settings in Apache not ScriptAlias.

Anyway, thanks a lot!

Kevin