Plugin Trouble

Bo Lynch blynch at ameliaschools.com
Thu Oct 30 20:35:54 CET 2008


On Thu, October 30, 2008 3:22 pm, Marc Powell wrote:
> Please always respond on list so that others, now and in the future,
> learn from your experience. More below...
>
> On Oct 30, 2008, at 1:55 PM, Bo Lynch wrote:
>
>> On Thu, October 30, 2008 2:45 pm, Marc Powell wrote:
>>>
>>> On Oct 30, 2008, at 1:18 PM, Bo Lynch wrote:
>
>>>>       command_line    $USER1$/check_snmp_printer $HOSTADDRESS$
>>>> $ARG1$
>>>> $ARG2$
>>>>       }
>>>
>>> How do you have the service definition set up? Based on the command
>>> definition above and your test, the check_command should be something
>>> like 'check_snmp_printer!public!CONSUM ALL'.
>>>
>
>> Service def.....
>> define service{
>>        use                     generic-service
>>        host_name               ACHS Lounge
>>        service_description     Printer Status
>>        check_command
>> check_snmp_printer!192.168.1.238!public!COMSUM ALL
>
> See the documentation for Command Argument Macros at
> http://nagios.sourceforge.net/docs/3_0/macros.html
>   and the rest of the macro documentation in general.
>
> --
> Marc

I apologize, usaually it does this.




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list