Hi Ralph -
The numerical value returned by the script will be the OK, CRITICAL,
WARNING or UKNOWN state.
The values are defined here:
http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN76
Regards,
Dennis
Dennis Hicks
Opsview Technical Support
Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK
www.opsera.com
On 01/06/10 16:02, Ralph Willemsen wrote:
Great! This is working (drop file in the specified directory)
Next step is to find the exact syntax for warning and critical since
it gives now NULL as output.
I will find out (unless you can tell me that without efforts ;-)
Best regards,
Ralph
On Tue, 1 Jun 2010 16:42 , Andrew Noonan <[email protected]> wrote:
Probably. It is a Nagios-style check script? If so, all you've got
to do is put it in the /usr/local/nagios/libexec directory and Opsview
should pick up its existence in a few minutes. This assumes that the
server has what the script needs to run. Try dropping the script in
place as the nagios user and running it from the machine to make sure
that it doesn't want more things. All Nagios/Opsview does really is
call these scripts, so if the system can run it, OpsView can run it,
though it expects the resulting output to be specifically formatted
according to:
http://nagiosplug.sourceforge.net/developer-guidelines.html
Here's the OpsView-specific documentation:
http://docs.opsview.com/doku.php?id=opsview-community:nagiosplugins
Thanks,
Andrew
On Tue, Jun 1, 2010 at 9:21 AM, Ralph Willemsen <[email protected]
<mailto:[email protected]>> wrote:
> Yes, I have Opsview running to monitor servers for remote
customers and now
> I am streamlining checks and find out usefull checks.
> I have found a python script: check_dell_warranty.py but I
cannot find how
> to implement this in Opsview.
> The scripts checks the warranty status for a Dell server via the
servicetag
> and a poll on the Dell website.
> Is this script useable in Opsview?
>
> Regards,
> Ralph Willemsen
> Arnhem, The Netherlands
>
> _______________________________________________
> Opsview-users mailing list
> [email protected]
<mailto:%[email protected]>
> http://lists.opsview.org/lists/listinfo/opsview-users
>
>
_______________________________________________
Opsview-users mailing list
[email protected]
<mailto:[email protected]>
http://lists.opsview.org/lists/listinfo/opsview-users
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users