My client has expressed need for virtually immediate alerts for CPU, failed disk, disk full, RAM, etc. and I'm wondering how to best meet the need.
First thoughts are a hybrid solution of active checks with check_by_ssh along with SNMP.
Can you please assist in designing most accurate and immediate monitoring system for both windows and linux?
Hybrid Solution
Re: Hybrid Solution
Immediate alerts are usually passive checks that are monitored by the monitored server and sent to Nagios (i.e. SNMP Traps)
Personally I think that for the checks you've mentioned it's possible to use regular SNMP monitoring with a check interval that is less than 1 minute.
Personally I think that for the checks you've mentioned it's possible to use regular SNMP monitoring with a check interval that is less than 1 minute.
-
asmgiadmin
- Posts: 125
- Joined: Tue Feb 12, 2013 5:00 pm
Re: Hybrid Solution
So just configure pure SNMP checks, and do without agent?
-
asmgiadmin
- Posts: 125
- Joined: Tue Feb 12, 2013 5:00 pm
Re: Hybrid Solution
Can NSCA be used just as effectively as SNMP?
Re: Hybrid Solution
I would assume so. You may want to decrease the freshness check interval a bit so that passive checks are reported by the UI faster.asmgiadmin wrote:Can NSCA be used just as effectively as SNMP?
http://nagios.sourceforge.net/docs/3_0/freshness.html
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Hybrid Solution
It depends on what you are looking to check with NSCA. NSCA offers passive checks so once a change in what it is monitoring occurs it will send a update to the Nagios server.
Please see our already prepared documentation:
http://nagios.sourceforge.net/download/ ... _Setup.pdf
http://assets.nagios.com/downloads/nagi ... ith_XI.pdf
Bear in mind if you do decide to use NSCA please use the stable version and not the current version as there are a few bugs being worked out.
Please see our already prepared documentation:
http://nagios.sourceforge.net/download/ ... _Setup.pdf
http://assets.nagios.com/downloads/nagi ... ith_XI.pdf
Bear in mind if you do decide to use NSCA please use the stable version and not the current version as there are a few bugs being worked out.
-
asmgiadmin
- Posts: 125
- Joined: Tue Feb 12, 2013 5:00 pm
Re: Hybrid Solution
Consider monitoring solution is NSCA and CPU, RAM, and Disk checks will be performed.
Is it correct that each check above will require script that will then pass value to NSCA to relay to server?
Is it correct that each check above will require script that will then pass value to NSCA to relay to server?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Hybrid Solution
In addition to abrist's links, for a general overview of how NSCA functions you can visit the NSClient++ site and view their short guide:
http://www.nsclient.org/nscp/wiki/doc/usage/nagios/nsca
NSCA can use plugins, but in the case of standard windows checks it will use a loaded module from the NSClient++ service.
http://www.nsclient.org/nscp/wiki/doc/usage/nagios/nsca
NSCA can use plugins, but in the case of standard windows checks it will use a loaded module from the NSClient++ service.
-
asmgiadmin
- Posts: 125
- Joined: Tue Feb 12, 2013 5:00 pm
Re: Hybrid Solution
I'm asking more in regards to Linux monitors.
If CPU, RAM, and disk are to be monitored on server, will script need to be created to call plugins and pass result to NSCA?
If CPU, RAM, and disk are to be monitored on server, will script need to be created to call plugins and pass result to NSCA?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Hybrid Solution
Most people monitor Linux system actively with NRPE or our XI Linux agent