Hi Team ,
We are getting an error while trying to monitor disk usage on a linux SNMP v3 device . We are able to monitor CPU and Memory without any issues. Below is the error message while trying to monitor file system / .
[nagios@abc ~]$ /usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H xyz --login=***--passwd=$USER4$ --privpass=$USER5$ --protocols=sha,aes -m "^/$" -w 80 -c 95 -f
ERROR: Description/Type table : No response from remote host "xyz".
Please let us know what can be done here .
check_snmp_storage_wizard.pl
check_snmp_storage_wizard.pl
You do not have the required permissions to view the files attached to this post.
Re: check_snmp_storage_wizard.pl
Does a base snmpwalk work against the device from the CLI of the XI server?
- Change X.X.X.X, yourcommunity, port, and any other credentials/protocols as needed
For SNMP v2c:
For SNMP v3:
The reasons a base snmpwalk command would fail are because:
- A security device such as a firewall/IPS/security device is impacting it or a network issue
- Wrong SNMP setup/misconfiguration on the remote system
- Wrong SNMP version
- A difference in SNMP v3 engine ID/user/passwords/auth type/protocols
- The version of SNMP on your XI server not supporting the auth/priv ciphers in use by the remote system such as SHA256, etc
- An ACL/whitelist on your remote device preventing authentication from your XI server
- Change X.X.X.X, yourcommunity, port, and any other credentials/protocols as needed
For SNMP v2c:
Code: Select all
snmpwalk -v 2c -c 'yourcommunity' X.X.X.X:161Code: Select all
snmpwalk -v3 -u yoursnmpv3user -A 'authPass' -a SHA -X 'privPass' -x AES -l authPriv X.X.X.X:161- A security device such as a firewall/IPS/security device is impacting it or a network issue
- Wrong SNMP setup/misconfiguration on the remote system
- Wrong SNMP version
- A difference in SNMP v3 engine ID/user/passwords/auth type/protocols
- The version of SNMP on your XI server not supporting the auth/priv ciphers in use by the remote system such as SHA256, etc
- An ACL/whitelist on your remote device preventing authentication from your XI server
Re: check_snmp_storage_wizard.pl
I tried snmpwalk and Im getting below output .
buffer too small to read octet string (17 < 17)
snmpwalk: Timeout
We were able to monitor CPU and memory utilization for the device without any issues using check_snmp_load_wizard.pl and check_snmp_mem.pl plugins .
buffer too small to read octet string (17 < 17)
snmpwalk: Timeout
We were able to monitor CPU and memory utilization for the device without any issues using check_snmp_load_wizard.pl and check_snmp_mem.pl plugins .
Re: check_snmp_storage_wizard.pl
I've seen that resolved on some systems (not all) by doing this:
https://support.oneidentity.com/one-ide ... tet-string
It could be the max message size exceeding the buffer/packet size, I know you can adjust with the check_snmp_load_wizard.pl option but I'm not sure about the base snmpwalk command:
https://support.oneidentity.com/one-ide ... tet-string
It could be the max message size exceeding the buffer/packet size, I know you can adjust with the check_snmp_load_wizard.pl option but I'm not sure about the base snmpwalk command:
Code: Select all
-o, --octetlength=INTEGER
max-size of the SNMP message, usefull in case of Too Long responses.
Be carefull with network filters. Range 484 - 65535, default are
usually 1472,1452,1460 or 1440.Re: check_snmp_storage_wizard.pl
Hi Team,
Still facing this error .
ERROR: Description/Type table : No response from remote host
I tried executing nmpa command the port is open .
[root@abc ~]# nmap 172.**.***.** -p 161 -sU
Starting Nmap 6.47 ( http://nmap.org ) at 2021-11-15 06:04 EST
Nmap scan report for xyz (172.**.***.**)
Host is up (0.0027s latency).
PORT STATE SERVICE
161/udp open snmp
Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds
Still facing this error .
ERROR: Description/Type table : No response from remote host
I tried executing nmpa command the port is open .
[root@abc ~]# nmap 172.**.***.** -p 161 -sU
Starting Nmap 6.47 ( http://nmap.org ) at 2021-11-15 06:04 EST
Nmap scan report for xyz (172.**.***.**)
Host is up (0.0027s latency).
PORT STATE SERVICE
161/udp open snmp
Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds
Re: check_snmp_storage_wizard.pl
Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:
https://support.nagios.com/tickets/
Thank you!
https://support.nagios.com/tickets/
Thank you!
Re: check_snmp_storage_wizard.pl
Im not able to open the link .
Re: check_snmp_storage_wizard.pl
Hi deek,
Give it another go -- it may have been inaccessible for a brief period of time earlier today but it looks like the site is up now.
Also if you have any javascript blockers enabled you might have to turn those off.
Thanks and Best Regards,
Keith
Give it another go -- it may have been inaccessible for a brief period of time earlier today but it looks like the site is up now.
Also if you have any javascript blockers enabled you might have to turn those off.
Thanks and Best Regards,
Keith
Re: check_snmp_storage_wizard.pl
Sure .
Another question : Is it possible to monitor the output of systemctl status of SNMP v2 device . I was not able to monitor through check_snmp_process_wizard.pl .
Example :
admin@abc:~$ sudo systemctl status korbyt-tasks.service
? korbyt-tasks.service - Maestro Tasks
Loaded: loaded (/lib/systemd/system/korbyt-tasks.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-11-16 04:00:05 UTC; 11h ago
Docs: https://www.****.com
Main PID: 18076 (node)
Tasks: 11 (limit: 7372)
CGroup: /system.slice/korbyt-tasks.service
+-18076 /usr/bin/node app.js
Another question : Is it possible to monitor the output of systemctl status of SNMP v2 device . I was not able to monitor through check_snmp_process_wizard.pl .
Example :
admin@abc:~$ sudo systemctl status korbyt-tasks.service
? korbyt-tasks.service - Maestro Tasks
Loaded: loaded (/lib/systemd/system/korbyt-tasks.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-11-16 04:00:05 UTC; 11h ago
Docs: https://www.****.com
Main PID: 18076 (node)
Tasks: 11 (limit: 7372)
CGroup: /system.slice/korbyt-tasks.service
+-18076 /usr/bin/node app.js
Re: check_snmp_storage_wizard.pl
Hi deek,
You could always setup a check using check_by_ssh. Here's a link to our Knowledge Base Article and the manual page for the plugin:
https://assets.nagios.com/downloads/nag ... ng_SSH.pdf
https://nagios-plugins.org/doc/man/check_by_ssh.html
Thanks and Best Regards,
Keith
You could always setup a check using check_by_ssh. Here's a link to our Knowledge Base Article and the manual page for the plugin:
https://assets.nagios.com/downloads/nag ... ng_SSH.pdf
https://nagios-plugins.org/doc/man/check_by_ssh.html
Thanks and Best Regards,
Keith