[Nagiosplug-help] check_cisco_firewall.sh script

Claudio Kuenzler ck at claudiokuenzler.com
Wed Jul 20 14:07:36 CEST 2011


I forgot to ask: Can you please post your command definition and the service
definition? Maybe there's an error in there?

On Wed, Jul 20, 2011 at 2:06 PM, Claudio Kuenzler <ck at claudiokuenzler.com>wrote:

> A different PATH or permissions would have explained it but since Nagios is
> running as root this explanation doesn't fit.
>
> I'm using the same plugin and it works fine, as root and nagios.
> Just out of curiousity: What version of the plugin are you using? The one
> is use is # Version: 2.3 (updated 09/04/2009).
>
>
> On Wed, Jul 20, 2011 at 11:51 AM, Jonathan Aquilina <
> eagles051387 at gmail.com> wrote:
>
>>  Root
>>
>>
>> On 20/07/2011 11:46, Claudio Kuenzler wrote:
>>
>> So your Nagios installation is running as root or as user nagios?
>>
>> On Wed, Jul 20, 2011 at 11:43 AM, Jonathan Aquilina <
>> eagles051387 at gmail.com> wrote:
>>
>>>  Forgot to add in my last email we are running this as root. All other
>>> checks seem to work just fine. snmpwalk and get work as I have used them for
>>> other checks no problem.
>>>
>>>
>>> On 20/07/2011 11:15, Claudio Kuenzler wrote:
>>>
>>> Can you show us the command you used on command line? Did you run it as
>>> Nagios user?
>>> Is the Nagios user allowed to execute snmpget and snmpwalk?
>>>
>>> On Wed, Jul 20, 2011 at 9:49 AM, Jonathan Aquilina <
>>> eagles051387 at gmail.com> wrote:
>>>
>>>> I am trying to get this script to work with nagios.
>>>>
>>>> The command line works but when i come to set up the service in the
>>>> backend (nagios QL) it gives me the error
>>>>
>>>> Error - Not numeric value : = status_prim
>>>>
>>>> What does this mean? Google isnt turning up anything for me and any help
>>>> would be greatly appreciated.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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/
>>>> _______________________________________________
>>>> Nagiosplug-help mailing list
>>>> Nagiosplug-help at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>>>> ::: Please include plugins 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/
>>>
>>>
>>>
>>> _______________________________________________
>>> Nagiosplug-help mailing listNagiosplug-help at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>>> ::: Please include plugins 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/
>>> _______________________________________________
>>> Nagiosplug-help mailing list
>>> Nagiosplug-help at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>>> ::: Please include plugins 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/
>>
>>
>>
>> _______________________________________________
>> Nagiosplug-help mailing listNagiosplug-help at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>> ::: Please include plugins 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/
>> _______________________________________________
>> Nagiosplug-help mailing list
>> Nagiosplug-help at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
>> ::: Please include plugins version (-v) and OS when reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20110720/095db3f1/attachment.html>


More information about the Help mailing list