Hey folks,
I am new to the whole world of network monitoring. I have reviewed several open source SNMP server monitoring software packages such as OpenNMS and Nagios. I found out that using OpenNMS, you can easily get the information of your server like memory usage, cpu usage, temperature and etc using the ReST API OpenNMS provides. Since I need to get this information programatically and not through the UI(website), I was wondering if there is any similar mechanism like this in Nagios as well?
In another word, now that I got the Nagios web server working and can get the different information of the server, is there any way I get this data programatically?
Thanks in advance
How to get SNMP info programatically using Nagios
Re: How to get SNMP info programatically using Nagios
Is there any thoughts on this from Nagios community?
I am looking for a way to get the data from SNMP clients using Nagios programmatically. Can anyone please help? Something similar to OpenNMS.
I am looking for a way to get the data from SNMP clients using Nagios programmatically. Can anyone please help? Something similar to OpenNMS.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: How to get SNMP info programatically using Nagios
Yes. In the newer versions you can collect data with the json api
Code: Select all
http://YOUR_HOST/nagios/jsonquery.html