Page 1 of 5

Nagios XI SNMP collection on discovery mode

Posted: Thu Dec 19, 2013 4:01 pm
by rashidaq
How can I enable SNMP collection on Nagios XI - discovery mode

Is there a plugin or config file to change for enabling this SNMP feature?

On one device SNMP collection is doable by using OID...

thanks in-advance

Rash :oops:

Re: Nagios XI SNMP collection on discovery mode

Posted: Thu Dec 19, 2013 4:22 pm
by sreinhardt
Could you explain in more detail what you are looking for? The autodiscovery wizard does not do snmp walks. However there is the snmpwalk wizard that might do what you are looking for, it will only scan a single host at a time though.

Re: Nagios XI SNMP collection on discovery mode

Posted: Thu Dec 19, 2013 4:35 pm
by rashidaq
its a snmp walk on mutiple hosts or on a discovery mode
so I can get what devices(several) are enabled or sending SNMP in the network using Nagios XI

thanks in-advance

but

" However there is the snmpwalk wizard that might do what you are looking for, it will only scan a single host at a time though."....

need all or several hosts not sin :oops: gle hosts

thanks
Rashid

Re: Nagios XI SNMP collection on discovery mode

Posted: Fri Dec 20, 2013 10:21 am
by slansing
Well, that is currently the only way to go about this. Auto Discovery runs an nmap scan against a subsection of your network, and the walk wizard will let you walk a host address. If multiple hosts use the same OIDs you can use the Bulk Host Cloning Wizard to clone the host and its services to another address.

Re: Nagios XI SNMP collection on discovery mode

Posted: Fri Dec 20, 2013 11:06 am
by rashidaq
thanks... but
the discovery mode does the nmap scan of the network devices but can it do
SNMP also besides NMAP
Any change in the configuration files? for discovery config files

I need this to work ASAP, as I have a dead line and have not been successful yet

thanks in-advance

ras

Re: Nagios XI SNMP collection on discovery mode

Posted: Fri Dec 20, 2013 11:11 am
by sreinhardt
The only way to do any form of snmpwalk within the xi interface, is to use the snmpwalk wizard. This will only work on one host at a time as snmp is very specific per device. The autodiscovery wizard will only detect if the snmp port(161) is open and attempt to verify that it is open with a check_udp, it will not walk the snmp tree on a remote device, no change will make this happen at this time. Give the snmpwalk wizard a shot, it will be somewhat slower, but to a large extent will do what you want.

Re: Nagios XI SNMP collection on discovery mode

Posted: Thu Dec 26, 2013 11:16 am
by rashidaq
thank you for the response...
I tried that SNMP walk per host and used the wizards for the SNMP OID related to that application process ID but
realize that the process IDs are dynamic so how can use Nagios to monitor the Application(in-house) thru snmp.

SNMP walk does detect that application process ID and then I can do OID search(snmpget) for that application process ID
and then use Nagios snmp walk wizard and use that OID found but the OID is for that process ID which may change when the application is restarted
or the system restarts

please advice is it possible on Nagios XI


thanks
in-advance

Ras

Re: Nagios XI SNMP collection on discovery mode

Posted: Thu Dec 26, 2013 11:34 am
by scottwilkerson
If this is a Linux or Windows server you can use the Linux SNMP or Windows SNMP wizards, and put the process name in the field you want to monitor.

This will find the process by name and monitor it's status via SNMP

Re: Nagios XI SNMP collection on discovery mode

Posted: Thu Dec 26, 2013 1:27 pm
by rashidaq
thanks Steven
I tried that earlier(yesterday) and also retried it as per your suggestion

here is what Nagios xi responds(cutnpasted)
----------------------------------------------------------------------------------------------------------
freeswitch Critical 8m 32s 5/5 2013-12-26 09:26:00 Connection refused by host
------------------------------------------------------------------------------------------------------------


Connection refused by host, not sure how to troubleshoot this ? and its Linux centOS with several application running on it

thank you for your time and help

rgds
Ras

Re: Nagios XI SNMP collection on discovery mode

Posted: Thu Dec 26, 2013 1:44 pm
by slansing
Are you using the correct SNMP community string that you set up on those systems? Do you have UDP port 161 open? Is the snmp daemon running on those systems? We also need to know what type of system this is, Windows, *nix "if so what distro," etc.