NRPE vs SNMP monitoring?
NRPE vs SNMP monitoring?
I used to monitor through nrpe agent and for easier agent deployement, we changed to agentless SNMP monitoring. Is SNMP monitoring is a better option? What are the advantages and disadvantages?
Re: NRPE vs SNMP monitoring?
SNMP has a limited set of capabilities, where as NRPE will allow you to have a full range of execution available.
The general SNMP doc we have is here - https://assets.nagios.com/downloads/nag ... g_SNMP.pdf
The other option that is up and coming is NCPA - https://www.nagios.org/ncpa/ - which will be similar to NRPE, but have quite a few more capabilities.
The general SNMP doc we have is here - https://assets.nagios.com/downloads/nag ... g_SNMP.pdf
The other option that is up and coming is NCPA - https://www.nagios.org/ncpa/ - which will be similar to NRPE, but have quite a few more capabilities.
Former Nagios Employee
Re: NRPE vs SNMP monitoring?
i moved to snmp recently. That means my capabilities are limited now.
Thought SNMP is better.
I did change because nrpe needed to compile/install in every hosts , but snmp need only 2-3 lines to be added to the hosts with net-snmp rpm installed.
Please advice me what should i do now. Back to NRPE ?
I did change because nrpe needed to compile/install in every hosts , but snmp need only 2-3 lines to be added to the hosts with net-snmp rpm installed.
Please advice me what should i do now. Back to NRPE ?
Re: NRPE vs SNMP monitoring?
I enjoy SNMP for the ease of use as well.
The question at this point, becomes what are you after monitoring that you cannot with SNMP currently? There may be a way to monitor it without the agent, but we'll need to know more.
The question at this point, becomes what are you after monitoring that you cannot with SNMP currently? There may be a way to monitor it without the agent, but we'll need to know more.
Former Nagios Employee
Re: NRPE vs SNMP monitoring?
we need to monitor and get graphs on below stats..
CPU user per CPU core
system Per CPU core
iowait Per CPU core
idle Per CPU core
Host load average Per host
Memory used Per Host
cached Per Host
real Per Host
total Per Host
swap used Per Host
swap total Per Host
Disk IO writes/s (KB) Per disk partition
read/s (KB) Per disk partition
Network IO RX bytes /s Per NIC
TX bytes /s Per NIC
TCP connections ETABLISHED Per host
TIME_WAIT Per host
FIN_WAIT Per host
CLOSE_WAIT Per host
CPU user per CPU core
system Per CPU core
iowait Per CPU core
idle Per CPU core
Host load average Per host
Memory used Per Host
cached Per Host
real Per Host
total Per Host
swap used Per Host
swap total Per Host
Disk IO writes/s (KB) Per disk partition
read/s (KB) Per disk partition
Network IO RX bytes /s Per NIC
TX bytes /s Per NIC
TCP connections ETABLISHED Per host
TIME_WAIT Per host
FIN_WAIT Per host
CLOSE_WAIT Per host
Re: NRPE vs SNMP monitoring?
Going to scatter my thoughts to your different sections -
I believe the CPU usage per core is usually available for SNMP, I am not sure about the remainder though.
The below link mentions the OID's for most of what you're after here for memory, all should be available.
http://www.debianadmin.com/linux-snmp-o ... stics.html
Not sure if this is readily available, would need to take a look at the walk.
This should be possible based on taking the amount of data provided and comparing to another walk taken a second before. I believe there are plugins that do so. (just give you a general answer, as I don't know off the top of my head. might be worth making a new post asking about which plugin for SNMP network monitoring.)
For example -
Code: Select all
CPU user per CPU core
system Per CPU core
iowait Per CPU core
idle Per CPU core
Code: Select all
Memory used Per Host
cached Per Host
real Per Host
total Per Host
swap used Per Host
swap total Per Host
http://www.debianadmin.com/linux-snmp-o ... stics.html
Code: Select all
Disk IO writes/s (KB) Per disk partition
read/s (KB) Per disk partition
Code: Select all
Network IO RX bytes /s Per NIC
TX bytes /s Per NICAs the walk generally shows all of this information, I believe this would be possible as well. You would just need to count the amount of connections per state type to get the metric.TCP connections ETABLISHED Per host
TIME_WAIT Per host
FIN_WAIT Per host
CLOSE_WAIT Per host
For example -
Code: Select all
TCP-MIB::tcpConnState.x.x.x = INTEGER: listen(2)
TCP-MIB::tcpConnState.x.x.x = INTEGER: established(5)
Former Nagios Employee
Re: NRPE vs SNMP monitoring?
Just checking in since we have not heard from you in a while. Did @rkennedy's post clear things up?
Former Nagios employee