unable to monitor windows server 2016 server using SNMP
-
- Posts: 15
- Joined: Tue Aug 13, 2019 5:08 am
Re: unable to monitor windows server 2016 server using SNMP
Dear Scott,
Please find attached nagios cfg files and kindly do the needful.
Regards
sudakar
Please find attached nagios cfg files and kindly do the needful.
Regards
sudakar
- Attachments
-
- nagios zip for forum.rar
- nagios config files
- (31.87 KiB) Downloaded 134 times
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: unable to monitor windows server 2016 server using SNMP
I just looked at some of the services under the windows-services.cfg and you have commands like this:
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/
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
}
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/
-
- Posts: 15
- Joined: Tue Aug 13, 2019 5:08 am
Re: unable to monitor windows server 2016 server using SNMP
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: unable to monitor windows server 2016 server using SNMP
It looks like you have services there, click the icon with the magnifying glass next to the UP word.
-
- Posts: 15
- Joined: Tue Aug 13, 2019 5:08 am
Re: unable to monitor windows server 2016 server using SNMP
dear Scott,
thanks for the quick reply.
can you please share the sample service group file how to add the services in service group
thanks for the quick reply.
can you please share the sample service group file how to add the services in service group
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: unable to monitor windows server 2016 server using SNMP
https://assets.nagios.com/downloads/nag ... rvicegroupsudakarman 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
-
- Posts: 15
- Joined: Tue Aug 13, 2019 5:08 am
Re: unable to monitor windows server 2016 server using SNMP
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!
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!
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: unable to monitor windows server 2016 server using SNMP
do you have the command snmp_load_15m defined?
-
- Posts: 15
- Joined: Tue Aug 13, 2019 5:08 am
Re: unable to monitor windows server 2016 server using SNMP
Dear Scott,
please find attachment and do the needful can you please give example command
please find attachment and do the needful can you please give example command
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: unable to monitor windows server 2016 server using SNMP
Is this in your configuration? Please share the commandscottwilkerson wrote:do you have the command snmp_load_15m defined?