--rate option in check_snmp return result by zero.
Lý Hiếu <[email protected]> Sat, 2 Jan 2016 16:29:51 +0700
| Newsgroups | gmane.network.nagios.plugins |
|---|---|
| Message-ID | <CAL8mP2beiQbMJy_v=YQE7XwW+Ryu3k+DfnTgXf92NhC_Kw0LeQ__33514.7782382139$1451756394$gmane$org@mail.gmail.com> |
Dear monitoring-plugins assistant team. I'm running Nagios Core 4.1.1 with nagios plugins 2.1.1 on CentOS 7 system and I have created below command_line: $USER1$/check_snmp -H $HOSTADDRESS$ -P $ARG1$ -C $ARG2$ -o ifAdminStatus.$ARG3$,ifType.$ARG3$,ifInOctets.$ARG3$ -l 'Port status: ','Port type: ','Inbound traffic: ' -u '' -u '' -u 'octets/sec' -D ' - ' --rate As I know that --rate option will apply for all OIDs in command. So that, ifAdminStatus and ifType will return result by 0 (zero). So, how can I do to assign --rate option just for ifInOctets? Hope to hearing from you soon. Best regard, Ly Hieu