Have you tried running the plugin from the command line? $user1/check_ace_failover -H <hostname> -P <peername> -C <community>
Can you post the service definition and the corresponding command definition please. -----Ursprüngliche Nachricht----- Von: Jonathan Aquilina [mailto:eagles051...@gmail.com] Gesendet: Mittwoch, 20. Juli 2011 10:33 An: nagios-users@lists.sourceforge.net Betreff: Re: [Nagios-users] few questions that I cant find any info on Marcel I am defining the command with the -H switch using the primary load balancer ip and the -P with the 2ndary one. The man page on the nagios exchange is extremely vague. http://exchange.nagios.org/directory/Plugins/Uncategorized/software/SNMP/Cisco-ACE-4700-Loadbalancer-failover-state-Check/details On 19/07/2011 15:23, Marcel Galke - Trans4mation IT GmbH wrote: > -----Ursprüngliche Nachricht----- >> Von: Jonathan Aquilina [mailto:eagles051...@gmail.com] >> Gesendet: Dienstag, 19. Juli 2011 09:23 >> An: nagios-users@lists.sourceforge.net >> Betreff: [Nagios-users] few questions that I cant find any info on >> Hey guys first time poster to the list, but I have been using this great >> program for a few weeks now, I have a few questions >> 1) I have been requested to work with some scripts and the first one im >> workign with is for the CISCO ACE 4700 Load balancer. >> >> i have the command defined in nagios ql command definitions. the command >> i am passing is as follows >> >> $USER1$/cisco_ace_failover -H PRIMARY IP -P SECONDARY IP -C $ARG1$ >> >> where $ARG1$ i am passing the variable i created for each hosts snmp >> community that its a part of. >> >> When i set this command to active I get the following. >> >> Service check command COMMAND NAME specified in service SERVICE NAME for >> host HOST NAME not defined anywhere. >> >> Where should I define the command. >> >> 2) I noticed there is a check called check_local_mrtgtraf can that check >> be adapted for remote hosts to check and monitor bandwidth on a CISCO >> ASA and ACE device. Also is it feasible to do hourly daily weekly >> monthly and yearly checks on bandwidth usage. >> Last question >> 3) i have a check which monitors ram usage, how do I specify a range >> that will trigger a warning then once it goes above that range it goes >> critical. Currently I am doing this using an snmp check. > > Hello, > > I will try to answer questions 1 and 3: > > 1) What's your complete command definition? Make sure you don't mix up > command_name and command_line in your configuration. Use the value defined > for command_name in your service definition. > 3) What tells you the "--help" switch of the plugin? Usually "-w" (warning) > and "-c" (critical) switches are used. > > > Marcel > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > 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 ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net 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 ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net 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