Search found 9 matches
- Mon Feb 26, 2018 12:02 pm
- Forum: Open Source Nagios Projects
- Topic: Problem with Check_Snmp
- Replies: 16
- Views: 12512
Re: Problem with Check_Snmp
That is strange. Before we did use check_snmp towards your router correct? /usr/local/nagios/libexec/check_snmp -H 192.168.172.1 -C public -o .1.3.6.1.2.1.1.1.0 I have mine set up like this and it works. # Monitor uptime via SNMP define service{ use generic-service ; Inherit values from a template ...
- Sat Feb 17, 2018 3:49 am
- Forum: Open Source Nagios Projects
- Topic: Problem with Check_Snmp
- Replies: 16
- Views: 12512
Re: Problem with Check_Snmp
Do you have the define host field with IP address and other fields in that switch.cfg? Is this the host with the same IP address that you were checking before? My Switch.cfg File : ############################################################################### # SWITCH.CFG - SAMPLE CONFIG FILE FOR ...
- Fri Feb 16, 2018 4:57 am
- Forum: Open Source Nagios Projects
- Topic: Problem with Check_Snmp
- Replies: 16
- Views: 12512
Re: Problem with Check_Snmp
Glad to hear that it works now! Are you talking about adding this check_snmp in that file? These are the object definitions. https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/objectdefinitions.html A host and service require different derivatives in order to not produce any Nagios...
- Thu Feb 15, 2018 1:36 pm
- Forum: Open Source Nagios Projects
- Topic: Problem with Check_Snmp
- Replies: 16
- Views: 12512
Re: Problem with Check_Snmp
Please run this command exactly like this with this OID. /usr/local/nagios/libexec/check_snmp -H 192.168.172.1 -C public -o .1.3.6.1.2.1.1.1.0 Post the output. thanks! Its works ! SNMP OK - "LANCOM 1781AW 10.12.0084 / 19.10.2017 4002851518100372" | How I change the switch.cfg file now ?
- Tue Feb 13, 2018 12:38 pm
- Forum: Open Source Nagios Projects
- Topic: Problem with Check_Snmp
- Replies: 16
- Views: 12512
Re: Problem with Check_Snmp
Please run your snmpwalk for us and post the output. snmpwalk 192.168.172.1 -c public -v2c -On Also, could you run your command like this and show us the output. /usr/local/nagios/libexec/check_snmp -H 192.168.172.1 -C public -o .3.6.1.2.1.1.1.0 -v Output of the SNMPWalk (To much Characters I can s...
- Sat Feb 10, 2018 1:29 pm
- Forum: Open Source Nagios Projects
- Topic: Problem with Check_Snmp
- Replies: 16
- Views: 12512
Re: Problem with Check_Snmp
Are you in the right directory to run the check_snmp plugin? What is the output of this? find / -name check_snmp Also, could you send your nagios.cfg file? find / -name nagios.cfg I'm not sure where it's at in Raspbian, but maybe /usr/local/nagios/etc/nagios.cfg . I did cd /usr/local/nagios/libexec...
- Wed Feb 07, 2018 5:15 am
- Forum: Open Source Nagios Projects
- Topic: Problem with Check_Snmp
- Replies: 16
- Views: 12512
Re: Problem with Check_Snmp
You mentioned that the snmpwalk ran just fine. Could you post the output from that walk? snmpwalk 192.168.172.1 -c public -v2c -On After performing the snmpwalk, use one of those OID's from that walk and use it with against check_snmp My example. ./check_snmp -H 192.168.4.125 -C StrOngCOmmunity -o ...
- Wed Feb 07, 2018 5:09 am
- Forum: Open Source Nagios Projects
- Topic: Problem with Check_Snmp
- Replies: 16
- Views: 12512
Re: Problem with Check_Snmp
I have copied a Part of the SNMPwalk here: iso.3.6.1.2.1.1.1.0 = STRING: "LANCOM 1781AW 10.12.0084 / 19.10.2017 4002851518100372" iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.2356.11.8.607 iso.3.6.1.2.1.1.3.0 = Timeticks: (32504991) 3 days, 18:17:29.91 iso.3.6.1.2.1.1.4.0 = "" iso.3....
- Sun Feb 04, 2018 6:12 am
- Forum: Open Source Nagios Projects
- Topic: Problem with Check_Snmp
- Replies: 16
- Views: 12512
Problem with Check_Snmp
Hi, I have a Problem with my nagios 4.3.4 (Raspbian) I want to check for example the WAN-IP of My Router. Its an Lancom 1781AW I have configured the Switch.cfg File as follows: define service{ use generic-service ; Inherit values from a template host_name GM-PS service_description WAN IP check_comma...