SOURCES: ocs-inventory-ng-client.adm (NEW), ocs-inventory-ng-clien...

wolvverine wolvverine at pld-linux.org
Sun Mar 2 04:45:11 CET 2008


Author: wolvverine                   Date: Sun Mar  2 03:45:11 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- for ocs-inventory-ng agent

---- Files affected:
SOURCES:
   ocs-inventory-ng-client.adm (NONE -> 1.1)  (NEW), ocs-inventory-ng-client.conf (NONE -> 1.1)  (NEW), ocs-inventory-ng-client.cron (NONE -> 1.1)  (NEW), ocs-inventory-ng-client.logrotate (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ocs-inventory-ng-client.adm
diff -u /dev/null SOURCES/ocs-inventory-ng-client.adm:1.1
--- /dev/null	Sun Mar  2 04:45:11 2008
+++ SOURCES/ocs-inventory-ng-client.adm	Sun Mar  2 04:45:06 2008
@@ -0,0 +1,6 @@
+<ADM>
+  <ACCOUNTINFO>
+    <KEYNAME>TAG</KEYNAME>
+    <KEYVALUE></KEYVALUE>
+  </ACCOUNTINFO>
+</ADM>

================================================================
Index: SOURCES/ocs-inventory-ng-client.conf
diff -u /dev/null SOURCES/ocs-inventory-ng-client.conf:1.1
--- /dev/null	Sun Mar  2 04:45:11 2008
+++ SOURCES/ocs-inventory-ng-client.conf	Sun Mar  2 04:45:06 2008
@@ -0,0 +1,7 @@
+<CONF>
+    <DEVICEID>write hostname/description here</DEVICEID>"
+    <DMIVERSION>2.9</DMIVERSION>
+    <IPDISCOVER_VERSION>1</IPDISCOVER_VERSION>
+    <OCSFSERVER>local</OCSFSERVER>
+<!--     <OCSFSERVER>localhost:80</OCSFSERVER> -->
+</CONF>

================================================================
Index: SOURCES/ocs-inventory-ng-client.cron
diff -u /dev/null SOURCES/ocs-inventory-ng-client.cron:1.1
--- /dev/null	Sun Mar  2 04:45:11 2008
+++ SOURCES/ocs-inventory-ng-client.cron	Sun Mar  2 04:45:06 2008
@@ -0,0 +1 @@
+1 12 * * * root cd /usr/sbin && perl ocsinventory-client.pl > /dev/null 2>&1

================================================================
Index: SOURCES/ocs-inventory-ng-client.logrotate
diff -u /dev/null SOURCES/ocs-inventory-ng-client.logrotate:1.1
--- /dev/null	Sun Mar  2 04:45:11 2008
+++ SOURCES/ocs-inventory-ng-client.logrotate	Sun Mar  2 04:45:06 2008
@@ -0,0 +1,24 @@
+#
+# File generated by OCS Inventory NG Agent setup
+#
+################################################################################
+#
+# OCS Inventory NG Agent
+#
+# Copyleft 2006 Didier LIROULET
+# Web: http://ocsinventory.sourceforge.net
+#
+# This code is open source and may be copied and modified as long as the source
+# code is always made freely available.
+# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
+################################################################################
+#
+# Rotate OCS Inventory NG agent logs daily, only if not empty
+# Save 7 days old logs under compressed mode
+/var/log/ocsinventory-client/*.log {
+	daily
+	rotate 7
+	compress
+	notifempty
+	missingok
+}
================================================================


More information about the pld-cvs-commit mailing list