Page 2 of 3
Re: unable to monitor windows server 2016 server using SNMP
Posted: Wed Sep 11, 2019 8:43 am
by sudakarman
Dear Scott,
Please find attached nagios cfg files and kindly do the needful.
Regards
sudakar
Re: unable to monitor windows server 2016 server using SNMP
Posted: Wed Sep 11, 2019 8:56 am
by scottwilkerson
I just looked at some of the services under the windows-services.cfg and you have commands like this:
Code: Select all
define service{
use generic-service
host_name WIN-75VUOLNHJMG
service_description CPU Load
check_command check_snmp!CPULOAD!-l 5,80,90
}
Why would you define the
check_command like this? It looks like you are mixing the check_snmp command with the arguments from check_nt which is for the NSClient++ agent.
Here's some basic documentation
https://assets.nagios.com/downloads/nag ... nners.html
https://assets.nagios.com/downloads/nag ... tions.html
You may want to consider Nagios XI if you are just getting started and would like to be able to setup the configuration files automatically for these types of checks with easy to use Wizards
https://www.nagios.com/products/nagios-xi/
Re: unable to monitor windows server 2016 server using SNMP
Posted: Fri Sep 13, 2019 2:43 am
by sudakarman
Dear Scott,
Finally i am able to add the Hosts but problem is unable to add the services can you please suggest how to add the services. please do the needful
Re: unable to monitor windows server 2016 server using SNMP
Posted: Fri Sep 13, 2019 6:44 am
by scottwilkerson
It looks like you have services there, click the icon with the magnifying glass next to the UP word.
Re: unable to monitor windows server 2016 server using SNMP
Posted: Fri Sep 13, 2019 8:09 am
by sudakarman
dear Scott,
thanks for the quick reply.
can you please share the sample service group file how to add the services in service group
Re: unable to monitor windows server 2016 server using SNMP
Posted: Fri Sep 13, 2019 8:23 am
by scottwilkerson
sudakarman wrote:dear Scott,
thanks for the quick reply.
can you please share the sample service group file how to add the services in service group
https://assets.nagios.com/downloads/nag ... rvicegroup
Re: unable to monitor windows server 2016 server using SNMP
Posted: Fri Sep 13, 2019 9:14 am
by sudakarman
getting this error please help to resolve this on
Checking objects...
Error: Service check command 'snmp_load_15m!-C private' specified in service 'CPU load Fifteen Minute Interval' for host 'myserver' not defined anywhere!
Re: unable to monitor windows server 2016 server using SNMP
Posted: Fri Sep 13, 2019 9:44 am
by scottwilkerson
do you have the command snmp_load_15m defined?
Re: unable to monitor windows server 2016 server using SNMP
Posted: Fri Sep 13, 2019 10:33 am
by sudakarman
Dear Scott,
please find attachment and do the needful can you please give example command
Re: unable to monitor windows server 2016 server using SNMP
Posted: Fri Sep 13, 2019 10:49 am
by scottwilkerson
scottwilkerson wrote:do you have the command snmp_load_15m defined?
Is this in your configuration? Please share the command