Search found 10 matches

by setec
Tue Sep 17, 2019 3:54 pm
Forum: Nagios XI
Topic: SNMP using PREEXEC
Replies: 16
Views: 2495

Re: SNMP using PREEXEC

Yep, that was the ticket. We weren't receiving the community using the $C variable in version 2c since it was never even sent. Thank you.
by setec
Tue Sep 17, 2019 3:32 pm
Forum: Nagios XI
Topic: SNMP using PREEXEC
Replies: 16
Views: 2495

Re: SNMP using PREEXEC

No, no special characters. Ah ha, so we're probably not even getting the community string from the device using 2c. I'll see if I can replicate that using version 1 and report back.
by setec
Tue Sep 17, 2019 10:30 am
Forum: Nagios XI
Topic: SNMP using PREEXEC
Replies: 16
Views: 2495

Re: SNMP using PREEXEC

File uploaded. - MIB it is hitting is IF-MIB - ls -l /usr/share/snmp/mibs total 2456 -rw-rw-r-- 1 root nagios 17455 Mar 22 2017 AGENTX-MIB.txt -rw-rw-r-- 1 apache nagios 37659 Sep 10 23:11 BGP4-MIB.my -rw-rw-r-- 1 root nagios 50948 Mar 22 2017 BRIDGE-MIB.txt -rw-rw-r-- 1 apache nagios 6437 Aug 29 12...
by setec
Mon Sep 16, 2019 4:58 pm
Forum: Nagios XI
Topic: SNMP using PREEXEC
Replies: 16
Views: 2495

Re: SNMP using PREEXEC

It says specifically not to do that in the file, you sure?
### AUTO-GENERATED BY NXTI. DO NOT HAND-EDIT THIS FILE. ###
-
SNMPTT v1.4beta2
(c) 2002-2007 Alex Burger
http://snmptt.sourceforge.net
by setec
Mon Sep 16, 2019 4:50 pm
Forum: Nagios XI
Topic: SNMP using PREEXEC
Replies: 16
Views: 2495

Re: SNMP using PREEXEC

Getting the following output (using PREEXEC /usr/bin/snmpget -v 2c -Ovq -c "$C" $aA ifAlias.$1 and PREEXEC snmpget -v 2c -Ovq -c "$C" $aA ifAlias.$1): Link down on interface GigabitEthernet1/0/12 ((no output from PREEXEC) - But if I statically put in the SNMP community I'll get: ...
by setec
Mon Sep 16, 2019 2:10 pm
Forum: Nagios XI
Topic: SNMP using PREEXEC
Replies: 16
Views: 2495

Re: SNMP using PREEXEC

Looks like it's the first OID in snmptt.conf.nxti: ### AUTO-GENERATED BY NXTI. DO NOT HAND-EDIT THIS FILE. ### EVENT linkDown .1.3.6.1.6.3.1.1.5.3 "Status Events" Critical FORMAT Received trap "$N" with variables "$+*" EXEC php /usr/local/nagiosxi/scripts/nxti.php --eve...
by setec
Wed Sep 11, 2019 12:50 pm
Forum: Nagios XI
Topic: SNMP using PREEXEC
Replies: 16
Views: 2495

Re: SNMP using PREEXEC

Sent, thank you. Essentially this is what I get from linkDown OID when using "PREEXEC snmpget -v 2c -Ovq -c $C $aA ifAlias.$1" in the Advanced box under SNMP Trap Interface: Link down on interface GigabitEthernet1/0/12 ((no output from PREEXEC) Using the following in Service Output: Link d...
by setec
Tue Sep 10, 2019 4:09 pm
Forum: Nagios XI
Topic: SNMP using PREEXEC
Replies: 16
Views: 2495

Re: SNMP using PREEXEC

You'll have to be explicit with what you'll need as I'm still learning the in's and out's of SNMP with Nagios. Shoot me the commands to get the info you are looking for and I'll post the output. Thanks.
by setec
Mon Sep 09, 2019 2:19 pm
Forum: Nagios XI
Topic: SNMP using PREEXEC
Replies: 16
Views: 2495

SNMP using PREEXEC

Seems like this is an acceptable command:

PREEXEC snmpget -v 2c -Ovq -c $C $aA ifAlias.$1

However, I'm not receiving anything back except when I statically put in a community name. Does $C not work for PREEXEC? It's listed in the macros. Thanks.
by setec
Thu Jan 16, 2014 11:31 am
Forum: Nagios Network Analyzer
Topic: How to enable DNS lookups in NA?
Replies: 16
Views: 9842

Re: How to enable DNS lookups in NA?

We have Nagios Network Analyzer 2014R1.3 and I'm not seeing where this is configured. A mouse-over on the pie charts (expanded or in its default state) only reveals the IP addresses. Any pending updates? Thanks.