Error while configuring Linux snmp wizard
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Error while configuring Linux snmp wizard
What's the output of sudo find / -name snmpd.conf?
For clarity, did you use https://assets.nagios.com/downloads/nag ... g_SNMP.pdf for setting this up?
For clarity, did you use https://assets.nagios.com/downloads/nag ... g_SNMP.pdf for setting this up?
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: Error while configuring Linux snmp wizard
Hi,
For clarity, did you use https://assets.nagios.com/downloads/nag ... g_SNMP.pdf for setting this up?
=> No, I thought snmp was installed on the remote machine
I found snmpd.conf (attached).
For clarity, did you use https://assets.nagios.com/downloads/nag ... g_SNMP.pdf for setting this up?
=> No, I thought snmp was installed on the remote machine
I found snmpd.conf (attached).
You do not have the required permissions to view the files attached to this post.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Error while configuring Linux snmp wizard
It looks like you did not perform the step of editing the snmpd.conf listed on page 2 of https://assets.nagios.com/downloads/nag ... g_SNMP.pdf
Based on the fact that you are not using the documentation, you may also need to run sudo apt-get install libsnmp-dev
Based on the fact that you are not using the documentation, you may also need to run sudo apt-get install libsnmp-dev
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: Error while configuring Linux snmp wizard
I performed the steps of page 2 and sudo apt-get install libsnmp-dev :
Code: Select all
[root@nagiosxi libexec]# ./check_snmp_storage.pl -H 172.16.1.19 -C Str0ngC0mmunity -m "^/$" -w 2 -c 4
ERROR: Description/Type table : No response from remote host '172.16.1.19'.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Error while configuring Linux snmp wizard
What's the output of the following?
From Ubuntu
From Nagios
Also, you changed community strings in your examples. Was that intentional?
From Ubuntu
Code: Select all
ps -A | grep snmp
Code: Select all
telnet 172.16.1.19 161
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: Error while configuring Linux snmp wizard
Hi,
Also, you changed community strings in your examples. Was that intentional?
=> Please tell me which example
Code: Select all
libriciel@iparapheurtestcd04:~$ ps -A | grep snmp
24306 ? 00:01:48 snmpd
Code: Select all
[root@nagiosxi ~]# telnet 172.16.1.19 161
-bash: telnet: command not found
=> Please tell me which example
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Error while configuring Linux snmp wizard
./check_snmp_storage.pl -H 172.16.1.19 -C Str0ngC0mmunity -m "^/$" -w 2 -c 4 vs. snmpwalk -v 1 -c public 172.16.1.19
Looks like you need to run yum install telnet and then telnet 172.16.1.19 161
Looks like you need to run yum install telnet and then telnet 172.16.1.19 161
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: Error while configuring Linux snmp wizard
Str0ngC0mmunity is the community described in the document you told me to apply (Nagios XI – Monitoring Linux Using SNMP)
I applied the changes described in that document (p.2 and 3).
Do you think it's a wrong value ?
./check_snmp_storage.pl -H 172.16.1.19 -C Str0ngC0mmunity -m "^/$" -w 2 -c 4 is the command given in the same document to test snmp (p.6)
I applied the changes described in that document (p.2 and 3).
Do you think it's a wrong value ?
./check_snmp_storage.pl -H 172.16.1.19 -C Str0ngC0mmunity -m "^/$" -w 2 -c 4 is the command given in the same document to test snmp (p.6)
Code: Select all
[root@nagiosxi ~]# telnet 172.16.1.19 161
Trying 172.16.1.19...
telnet: connect to address 172.16.1.19: Connection refused
Re: Error while configuring Linux snmp wizard
Str0ngC0mmunity is just an example we use in our documentation. You will need to be sure to change this to the community string your device is configured to use.
Former Nagios employee
-
Frédéric GRANAT
- Posts: 445
- Joined: Mon Nov 19, 2012 11:36 am
Re: Error while configuring Linux snmp wizard
You will need to be sure to change this to the community string your device is configured to use.
=> I don't know what's the community my device is configured to use, where can I find it ?
=> I don't know what's the community my device is configured to use, where can I find it ?