Page 1 of 2

Store Device configuration or data without SNMP

Posted: Sun Feb 12, 2017 12:27 am
by network2016
Hi

I am looking for solution on how to store a device data without adding it via discovery in NagiosXI [using SNMP] ,rather it will by a HTTP or REST method. The device should not be added using SNMP method rather it should use other method like http call or REST. It should be available and visible in nagios Console also . I want to know in which database[ndoutils,nagiosxi,nagios] it will store the device data and which DB is responsible to show it in nagios web console.

Primary requirement is that any client other that SNMP support ,how it will add in nagios and displayed in web console.

I want to save the device data [other than SNMP] into Nagios DB and display it on the console.

Please help and suggest any plugin or guidelines .

Thanks and Regards

Re: Store Device configuration or data without SNMP

Posted: Mon Feb 13, 2017 11:55 am
by rkennedy
You can use the API to add hosts / services to the API if you want to. See the attached document.
I want to know in which database[ndoutils,nagiosxi,nagios] it will store the device data and which DB is responsible to show it in nagios web console.
This is beyond what we can provide support for.

Re: Store Device configuration or data without SNMP

Posted: Wed Mar 01, 2017 2:27 pm
by tmcdonald
Just checking in since we have not heard from you in a while. Did @rkennedy's post clear things up or has the issue otherwise been resolved?

Re: Store Device configuration or data without SNMP

Posted: Thu Mar 09, 2017 12:39 am
by network2016
hi

sorry for being late ...was busy in something .

Thanks for the reply ...I am looking solution on a scenario, where nagios want to store a "non SNMP " device performance and alarm data generated from that non SNMP device and shown up in Nagios Dashboard and in Nagios Databases.

If you can advise on this ..it will be really helpful.

Regards

Re: Store Device configuration or data without SNMP

Posted: Thu Mar 09, 2017 11:35 am
by tmcdonald
Nagios is certainly not limited to just using SNMP. Depending on the device there may be many options to choose from when it comes to monitoring. If you can tell us more about the device type and what you wish to monitor on it, we can give more specific advice.

Re: Store Device configuration or data without SNMP

Posted: Fri Mar 10, 2017 1:02 am
by network2016
hi

Let say for example ,a device which is web server [supports HTML;HTTP] ,now I want this device to store its own data [perfomance ,alarm or configuration] at nagios Database using a method ,say REST API. So my requirement is to store this non snmp device data on nagios using REST or any mechanism from the client interface ,it should not be discover by Nagios first but it should have a REST api call to save its data in NAgios DB and also make it visible on nagios dashboard UI ,same like a snmp devices added in Nagios already.

Can you pleas advise or suggest a solution for this scenario.


Regards

Re: Store Device configuration or data without SNMP

Posted: Fri Mar 10, 2017 10:08 am
by tmcdonald
What you are describing is called a Passive Check, and SNMP traps are a type of passive check, but there are non-SNMP methods as well:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Store Device configuration or data without SNMP

Posted: Tue Mar 14, 2017 2:37 am
by network2016
hi

thanks for reply

Can you please help me on how to send passive data from an Non -SNMP device to nagios using REST api, If you can provide me with one example of such Rest APi or a link or a document to make such API from the Non-SNMP device [say : http client as above mentioned ]

Thank you in advance

Regards

Re: Store Device configuration or data without SNMP

Posted: Tue Mar 14, 2017 9:48 am
by tmcdonald
Did you read through the link I posted in my last reply? It's a document that links off to yet another with exactly what you need:

https://assets.nagios.com/downloads/nag ... erview.pdf

Re: Store Device configuration or data without SNMP

Posted: Fri Mar 17, 2017 5:18 am
by network2016
Thanks !!!!