z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

Nagios NCPA linux network counter check

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.

Nagios NCPA linux network counter check

Postby lobr1 » Wed Apr 27, 2022 12:34 pm

Hello,

i am wondering if ther is any possibility to do the same on Linux like this metric on windows:

Code: Select all
/windowscounters/Network Interface(*)/Bytes Received/sec


to check the counters on all NICs on a machine without needing to define every by hand.

Code: Select all
/interface/ens192/bytes_recv


with a wildcard or so?
lobr1
 
Posts: 1
Joined: Thu Mar 24, 2022 4:26 am

Re: Nagios NCPA linux network counter check

Postby JamesZimmerman » Fri May 06, 2022 7:03 am

Network devices, as in appliances like a Cisco firewall, in contrast to Windows/Linux hosts, usually support SNMP out of the box and that is normally suitable to monitor them adequately (perhaps in combination with SNMP traps). Also, you couldn't install an agent in most cases. There are SNMP plugins for Nagios.

Windows/Linux hosts, as pointed in some other comment, require something to provide monitoring. In Windows this can be WMI, which is built in (although it has its quirks- IIRC Microsoft's own monitoring solution didn't use WMI and used an NCPA-like agent when I looked at that). On Linux you can use ssh to invoke plugins without an agent, or other solutions like snmpd, but they also are not perfect. I'd recommend using a monitoring agent on Windows and omegleshagle Linux.
JamesZimmerman
 
Posts: 8
Joined: Wed Mar 23, 2022 8:00 am


Return to Open Source Nagios Projects

Who is online

Users browsing this forum: Google [Bot] and 9 guests