@pavangowdaa4267 welcome to the community, and please be careful with using old posts to make your questions. It’ll mess up the old things asked at the time with the current software version.
Helping you out, there’s no oficial integration between Nagios and Grafana. Then there’s no oficial “step by step” tutorial.
So you should search an see hows your Nagios installation and version and look arround for 3 options:
-
first one is using the Nagflux with an InfluxDB as a middle datasource for Grafana (some ideas here: Support)
-
second option is to use the PNP Metrics api (a plug-in for Nagios) and use this community Plug-in: PNP plugin for Grafana | Grafana Labs
-
A third option would be to study the Nagios API (Nagios XI - Backend API) and use JSON API from the post of @yosiasz above or the newest Infinity Plug-in that’s pretty fun to use (Infinity data source plugin for Grafana | Grafana Enterprise plugins documentation)
The best option would be the one that works for you. Nagios is pretty old, and the versions of it are pretty damn inconsistent. Always changing something important on the core for the integrations, so there’s not a good “go for it recipe”.
Good luck.
(I’ll close this topic since it’s pretty old. After you tried the above options, if there’s any question on your tries, feel free to open a new topic explaining how you’re trying and what’s not working)