greetings!
i am new to nagios.. i have some questions about nagios and php.
i have not seen any message relating to a required PHP version level for nagios.. i am using 5.5+ currently - i saw a thread about 5.5 here and there was no mention of whether nagios supports 5.5 or not. did i miss an explanation somewhere on the website?
as well as using the hardware monitoring of nagios, i am looking for a way to monitor php stack traces, as newrelic and appdynamics do (http://www.appdynamics.com/solutions/ph ... g-solution) - does anyone know if this can be done with nagios (plugins)?
thanks
php apps
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: php apps
You can certainly try, but presently we only officially support php 5.4 and 5.3. As for the plugins question, anything can be done, its just a matter of writing a a plugin and outputting the correct information. I would say that nagios itself cannot directly do the stack traces, however you could use it to monitor failures and use an event handler to initiate your diagnostic program!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: php apps
I believe 5.4 is the newest version of php that we officially support at the moment.
If you can check the stack traces from the cli, then you can script a nagios plugin to run the check and return the result in the nagios plugin format. We can help with the nagios wrapper script, but you need to figure out how to check these things from the cli.ura_soul wrote:as well as using the hardware monitoring of nagios, i am looking for a way to monitor php stack traces, as newrelic and appdynamics do (http://www.appdynamics.com/solutions/ph ... g-solution) - does anyone know if this can be done with nagios (plugins)?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: php apps
thanks for responding here.
i have just discovered that the bundled version of nagios in centos 6.5 is broken.. so i need to download the latest version and test that. i will post here my results with php 5.5.
well, i think the version of nagios in centos is broken.. only due to others having reported the same white screen after setup with nginx and they said it was fixed with the newer version of nagios.
i am not aware of how to access php stack traces in as useful a way as these pre-existing apps already are doing.. so i am unlikely to write a new plugin for nagios at this point. i was really inquiring as to whether such a plugin already exists.
i have just discovered that the bundled version of nagios in centos 6.5 is broken.. so i need to download the latest version and test that. i will post here my results with php 5.5.
well, i think the version of nagios in centos is broken.. only due to others having reported the same white screen after setup with nginx and they said it was fixed with the newer version of nagios.
i am not aware of how to access php stack traces in as useful a way as these pre-existing apps already are doing.. so i am unlikely to write a new plugin for nagios at this point. i was really inquiring as to whether such a plugin already exists.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: php apps
Let us know how your testing goes. Nginx has been known to cause issues in the past with Nagios.