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

Directory Tree

check_ocsing

Rating
0 votes
Favoured:
0
Hits
105361
Files:
FileDescription
check_ocsingVersion 0.2
check_ocsing_v0.1Version 0.1
changelog.txtchangelog.txt
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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;