Why do you want to skip it? If it finds the mysql libraries and header file it will make the check_mysql plugin. This could come in handy later. You never know when you will need it and it will be there just in case. If it doesn't find it, then it will not build it and no harm done?
David Fulton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:42 PM To: [email protected] Subject: [Nagios-users] check_snmp syntax issue (now compile issue fornagios plugins) I am trying to compile the new Nagios plugins 1.4.10 but my make errors with mysql errors. What syntax do I use to skip the mysql plugin during compile/make? --without-PACKAGE ? --disable-FEATURE ? Dylan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:01 PM To: Yost, Josh; [email protected] Subject: Re: [Nagios-users] check_snmp syntax issue I guess you have a different check_snmp version than I do because I was not showing a 2c option for the version. I will investigate that and see if that's my issue. Dylan From: Yost, Josh [mailto:[EMAIL PROTECTED] Sent: Monday, October 22, 2007 12:00 PM To: Dylan Bouterse; [email protected] Subject: RE: [Nagios-users] check_snmp syntax issue It looks like the -P switch will tell it which snmp version to use. again, '-h' helps =) -P, --protocol=[1|2c|3] SNMP protocol version - Josh ________________________________________ From: Dylan Bouterse [mailto:[EMAIL PROTECTED] Sent: Mon 10/22/2007 10:56 AM To: Yost, Josh; [email protected] Subject: RE: [Nagios-users] check_snmp syntax issue That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:[EMAIL PROTECTED] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; [email protected] Subject: RE: [Nagios-users] check_snmp syntax issue I think the: --string='SYNC OK' option would do it. Try doing a '-h' on check_snmp to see all the options. - Josh ________________________________________ From: [EMAIL PROTECTED] on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: [email protected] Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [EMAIL PROTECTED] cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [EMAIL PROTECTED] cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
