Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_ocsing

Rating
0 votes
Favoured:
0
Hits
102290
Files:
FileDescription
check_ocsingVersion 0.2
check_ocsing_v0.1Version 0.1
changelog.txtchangelog.txt
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check licenses in ocsinventory-ng
check_ocsing v0.2 (19 October, 2010) by Bjoern Becker

Check licenses in ocsinventory-ng

Usage: check_ocsing -H host -u user -p pass -d dbname -q Productname -t productversion [-w ] [-c ] [-l ] [-h]

Options:

-h | --help
Print help screen
-H
MySql hostname
-u
MySql user
-p
MySql pass
-d
MySql db-name (default: ocsweb)
-q
Name of the software ( Wildcard: % )
-t
Version of the software
You also can use "*" for all versions, by using double quotes. (default)
-w
Warning
-c
Critical
-l [item]
List a specific somethink
The option "-l" without any item, provides a list of all posible items


Example:

php check_ocsing -H localhost -u ocsuser -p pass -q 'IrfanView%' -w 15 -c 20
OK: Now are 13 installations for IrfanView|IrfanView=13;15;20;0;