regilero / check_nginx_status

Nagios check for nginx status report
GNU General Public License v3.0
51 stars 25 forks source link

Is possible create template for php4nagios ? #4

Closed volga629 closed 10 years ago

volga629 commented 11 years ago

Hello Everyone Is possible get template for pnp4nagios to get graphed output of performance data ?

Thank you in advance,

Slava.

regilero commented 11 years ago

I do not have one. Maybe someone already did it, anyone?

sunilsankar commented 10 years ago

Regilero can you provide the centreon graph template which you were planning to add . I will take that as a reference to create the pnp4nagios

Thanks

regilero commented 10 years ago

@sunilsankar, for centreon it's not a graph template, it's more a description of go there on this hidden feature, click that and that, and you get a minimal graph automatically (as centreon can in fact make graphs on all detected keywords, but theses graphs are really, really, very simple, whith everything on 1 graph or one graph per data).

So all you have is this minimal stat output from the script:

https://github.com/regilero/check_nginx_status/blob/master/check_nginx_status.pl#L402-403

Which should give you 7 things that could be graphed (and for some of them on the same graph):

@santtu fixed the graph data output for Opsview recently in pull request #2 . @santtu, do you have some insights on how you were able to mix theses different items on graphs, if this is available on Opsview?

santtu commented 10 years ago

Sorry Regilero, it's been a while since I did that so I can't really remember anymore. (And it was a customer project, where I'm no longer active so I don't have access to the op env to check things anymore, either.)

maethor commented 10 years ago

I just made one: https://gist.github.com/maethor/8714514

The colors are awful for now, I keep the makeup for later. Apart from that, feel free to tell me what you think.

This is my thank you gift for issue #8 :)

regilero commented 10 years ago

@volga629 you have your response :-). @maethor: thanks, I'll add a link in the docs.

regilero commented 10 years ago

link added on doc.

sunilsankar commented 10 years ago

Thank you works Great :)

maethor commented 10 years ago

You're very welcome :)

volga629 commented 10 years ago

Huge thank you. Tested look good.