Merge remote-tracking branch 'origin/develop' into ent-6652-pandora_db-en-historico

Conflicts:
	pandora_server/util/pandora_db.pl
This commit is contained in:
fbsanchez 2021-01-07 10:42:29 +01:00
commit 6667b38729
807 changed files with 40132 additions and 5783 deletions

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
Pandora FMS - http://pandorafms.com Pandora FMS - http://pandorafms.com
================================================== ==================================================
Copyright (c) 2005-2011 Artica Soluciones Tecnologicas Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
Please see http://pandorafms.org for full contribution list Please see http://pandorafms.org for full contribution list
This program is free software; you can redistribute it and/or This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -2,7 +2,7 @@
<!-- <!--
// Pandora FMS - http://pandorafms.com // Pandora FMS - http://pandorafms.com
// ================================================== // ==================================================
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas // Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
// Please see http://pandorafms.org for full contribution list // Please see http://pandorafms.org for full contribution list
// This program is free software; you can redistribute it and/or // This program is free software; you can redistribute it and/or

View File

@ -3,309 +3,321 @@ var isFetching = null;
var storedEvents = new Array(); var storedEvents = new Array();
var notVisited = {}; var notVisited = {};
$(window).on('load', function() { $(window).on("load", function() {
initilise(); initilise();
// Wait some ms to throw main function // Wait some ms to throw main function
var delay = setTimeout(main, 100); var delay = setTimeout(main, 100);
resetInterval(); resetInterval();
}); });
function fetchEvents() { function fetchEvents() {
return storedEvents; return storedEvents;
} }
function fetchNotVisited() { function fetchNotVisited() {
return notVisited; return notVisited;
} }
function removeNotVisited(eventId) { function removeNotVisited(eventId) {
if (notVisited[eventId] === true) delete notVisited[eventId]; if (notVisited[eventId] === true) delete notVisited[eventId];
} }
function main() { function main() {
chrome.runtime.sendMessage({ text: "FETCH_EVENTS" });
// Do not fetch if is fetching now
if (isFetching) return;
isFetching = true;
chrome.runtime.sendMessage({text: "FETCH_EVENTS"}); var url =
// Do not fetch if is fetching now localStorage["ip_address"] +
if (isFetching) return; "/include/api.php?op=get&op2=events&return_type=json";
isFetching = true; var feedUrl = url;
var data = new FormData();
var feedUrl = localStorage["ip_address"]+'/include/api.php?op=get&op2=events&return_type=json&apipass='+localStorage["api_pass"]+'&user='+localStorage["user_name"]+'&pass='+localStorage["pass"]; data.append("apipass", localStorage["api_pass"]);
data.append("user", localStorage["user_name"]);
data.append("pass", localStorage["pass"]);
req = new XMLHttpRequest(); req = new XMLHttpRequest();
req.onload = handleResponse; req.onload = handleResponse;
req.onerror = handleError; req.onerror = handleError;
req.open("GET", feedUrl, true); req.open("POST", feedUrl, true);
req.withCredentials = true req.withCredentials = true;
req.send(null); req.send(data);
} }
function handleError() { function handleError() {
chrome.runtime.sendMessage({text: "FETCH_EVENTS_URL_ERROR"}); chrome.runtime.sendMessage({ text: "FETCH_EVENTS_URL_ERROR" });
isFetching = false; isFetching = false;
} }
function handleResponse() { function handleResponse() {
var doc = req.responseText; var doc = req.responseText;
if (doc=="auth error") { if (doc == "auth error") {
chrome.runtime.sendMessage({text: "FETCH_EVENTS_URL_ERROR"}); chrome.runtime.sendMessage({ text: "FETCH_EVENTS_URL_ERROR" });
} else { } else {
var n = doc.search("404 Not Found"); var n = doc.search("404 Not Found");
if (n>0) { if (n > 0) {
chrome.runtime.sendMessage({text: "FETCH_EVENTS_DATA_ERROR"}); chrome.runtime.sendMessage({ text: "FETCH_EVENTS_DATA_ERROR" });
} else { } else {
getEvents(doc); getEvents(doc);
chrome.runtime.sendMessage({text: "FETCH_EVENTS_SUCCESS"}); chrome.runtime.sendMessage({ text: "FETCH_EVENTS_SUCCESS" });
} }
} }
isFetching = false; isFetching = false;
} }
function getEvents(reply){ function getEvents(reply) {
var fetchedEvents = parseReplyEvents(reply); var fetchedEvents = parseReplyEvents(reply);
// If there is no events requested, mark all as visited // If there is no events requested, mark all as visited
if (storedEvents.length == 0) { if (typeof storedEvents != "undefined" && storedEvents.length == 0) {
notVisited = {}; notVisited = {};
storedEvents = fetchedEvents; storedEvents = fetchedEvents;
return; return;
} }
// Discriminate the new events // Discriminate the new events
newEvents=fetchNewEvents(fetchedEvents,storedEvents); newEvents = fetchNewEvents(fetchedEvents, storedEvents);
var newNotVisited = {}; var newNotVisited = {};
var notVisitedCount = 0; var notVisitedCount = 0;
// Check if popup is displayed to make some actions
var views = chrome.extension.getViews({ type: "popup" });
for(var k=0;k<newEvents.length;k++){
newNotVisited[newEvents[k]['id']] = true;
if (views.length == 0) {
notVisitedCount++;
displayNotification (newEvents[k])
alertsSound(newEvents[k]);
}
}
// Make that the old events marked as not visited remains with the // Check if popup is displayed to make some actions
// same status var views = chrome.extension.getViews({ type: "popup" });
for(var k=0;k<fetchedEvents.length;k++){ for (var k = 0; k < newEvents.length; k++) {
if (notVisited[fetchedEvents[k]['id']] === true) { newNotVisited[newEvents[k]["id"]] = true;
newNotVisited[fetchedEvents[k]['id']] = true; if (views.length == 0) {
notVisitedCount++; notVisitedCount++;
} displayNotification(newEvents[k]);
} alertsSound(newEvents[k]);
notVisited = newNotVisited; }
}
// Update the number // Make that the old events marked as not visited remains with the
localStorage["new_events"] = (views.length == 0) ? notVisitedCount : 0; // same status
updateBadge(); for (var k = 0; k < fetchedEvents.length; k++) {
if (notVisited[fetchedEvents[k]["id"]] === true) {
newNotVisited[fetchedEvents[k]["id"]] = true;
notVisitedCount++;
}
}
notVisited = newNotVisited;
// Store the requested events // Update the number
storedEvents = fetchedEvents; localStorage["new_events"] = views.length == 0 ? notVisitedCount : 0;
updateBadge();
// Store the requested events
storedEvents = fetchedEvents;
} }
function updateBadge() { function updateBadge() {
if (localStorage["new_events"] != 0) { if (localStorage["new_events"] != 0) {
chrome.browserAction.setBadgeBackgroundColor({color:[0,200,0,255]}); chrome.browserAction.setBadgeBackgroundColor({ color: [0, 200, 0, 255] });
chrome.browserAction.setBadgeText({ text: localStorage["new_events"] }); chrome.browserAction.setBadgeText({ text: localStorage["new_events"] });
} else { } else {
chrome.browserAction.setBadgeText({ text: "" }); chrome.browserAction.setBadgeText({ text: "" });
} }
} }
function fetchNewEvents(A,B){ function fetchNewEvents(A, B) {
var arrDiff = new Array(); var arrDiff = new Array();
for(var i = 0; i < A.length; i++) { for (var i = 0; i < A.length; i++) {
var id = false; var id = false;
for(var j = 0; j < B.length; j++) { for (var j = 0; j < B.length; j++) {
if(A[i]['id'] == B[j]['id']) { if (A[i]["id"] == B[j]["id"]) {
id = true; id = true;
break; break;
} }
} }
if(!id) { if (!id) {
arrDiff.push(A[i]); arrDiff.push(A[i]);
} }
} }
return arrDiff; return arrDiff;
} }
function parseReplyEvents(reply) {
// Split the API response
var data;
try {
data = JSON.parse(reply);
} catch (error) {
console.log(error);
return [];
}
var e_array = JSON.parse(reply).data;
function parseReplyEvents (reply) { // Form a properly object
var fetchedEvents = new Array();
// Split the API response for (var i = 0; i < e_array.length; i++) {
var data = JSON.parse(reply) var event = e_array[i];
var e_array = JSON.parse(reply).data; fetchedEvents.push({
id: event.id_evento,
// Form a properly object agent_name: event.agent_name,
var fetchedEvents=new Array(); agent: event.id_agente,
for(var i=0;i<e_array.length;i++){ date: event.timestamp,
var event=e_array[i]; title: event.evento,
fetchedEvents.push({ module: event.id_agentmodule,
'id' : event.id_evento, type: event.event_type,
'agent_name' : event.agent_name, source: event.source,
'agent' : event.id_agente, severity: event.criticity_name,
'date' : event.timestamp, visited: false
'title' : event.evento, });
'module' : event.id_agentmodule, }
'type' : event.event_type, // Return the events
'source' : event.source, return fetchedEvents;
'severity' : event.criticity_name,
'visited' : false
});
}
// Return the events
return fetchedEvents;
} }
function alertsSound(pEvent){ function alertsSound(pEvent) {
if(localStorage["sound_alert"]!="on"){ if (localStorage["sound_alert"] != "on") {
return; return;
} }
switch (pEvent['severity']) { switch (pEvent["severity"]) {
case "Critical": case "Critical":
playSound(localStorage["critical"]); playSound(localStorage["critical"]);
break; break;
case "Informational": case "Informational":
playSound(localStorage["informational"]); playSound(localStorage["informational"]);
break; break;
case "Maintenance": case "Maintenance":
playSound(localStorage["maintenance"]); playSound(localStorage["maintenance"]);
break; break;
case "Normal": case "Normal":
playSound(localStorage["normal"]); playSound(localStorage["normal"]);
break; break;
case "Warning": case "Warning":
playSound(localStorage["warning"]); playSound(localStorage["warning"]);
break; break;
} }
} }
function displayNotification (pEvent) { function displayNotification(pEvent) {
// Check if the user is okay to get some notification
if (Notification.permission === "granted") {
// If it's okay create a notification
getNotification(pEvent);
}
// Check if the user is okay to get some notification // Otherwise, we need to ask the user for permission
if (Notification.permission === "granted") { // Note, Chrome does not implement the permission static property
// If it's okay create a notification // So we have to check for NOT 'denied' instead of 'default'
getNotification(pEvent); else if (Notification.permission !== "denied") {
} Notification.requestPermission(function(permission) {
// Whatever the user answers, we make sure we store the information
// Otherwise, we need to ask the user for permission if (!("permission" in Notification)) {
// Note, Chrome does not implement the permission static property Notification.permission = permission;
// So we have to check for NOT 'denied' instead of 'default' }
else if (Notification.permission !== 'denied') {
Notification.requestPermission(function (permission) { // If the user is okay, let's create a notification
// Whatever the user answers, we make sure we store the information if (permission === "granted") getNotification(pEvent);
if(!('permission' in Notification)) { });
Notification.permission = permission; }
}
// If the user is okay, let's create a notification
if (permission === "granted") getNotification(pEvent);
});
}
} }
function getNotification(pEvent){ function getNotification(pEvent) {
// Build the event text
// Build the event text var even = pEvent["type"];
var even = pEvent['type']; if (pEvent["source"] != "") even += " : " + pEvent["source"];
if (pEvent['source'] != '') even += " : " + pEvent['source']; even += ". Event occured at " + pEvent["date"];
even += ". Event occured at " + pEvent['date']; if (pEvent["module"] != 0)
if(pEvent['module'] != 0) even += " in the module with Id "+ pEvent['module']; even += " in the module with Id " + pEvent["module"];
even += "."; even += ".";
var url = (pEvent['agent'] == 0) var url =
? localStorage["ip_address"]+"/index.php?sec=eventos&sec2=operation/events/events" pEvent["agent"] == 0
: localStorage["ip_address"]+"/index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=" + pEvent['agent']; ? localStorage["ip_address"] +
"/index.php?sec=eventos&sec2=operation/events/events"
: localStorage["ip_address"] +
"/index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=" +
pEvent["agent"];
var notification = new Notification( var notification = new Notification(pEvent["title"], {
pEvent['title'], body: even,
{ icon: "images/icon.png"
body: even, });
icon: "images/icon.png"
}
);
// Add the link // Add the link
notification.onclick = function (event) { notification.onclick = function(event) {
event.preventDefault(); event.preventDefault();
window.open(url, '_blank'); window.open(url, "_blank");
} };
// Close notification after 10 secs // Close notification after 10 secs
setTimeout(function() {notification.close()}, 10000); setTimeout(function() {
notification.close();
}, 10000);
} }
function resetInterval () { function resetInterval() {
if (refreshTimer) clearInterval(refreshTimer); if (refreshTimer) clearInterval(refreshTimer);
refreshTimer = setInterval(main, localStorage["refresh"]*1000); refreshTimer = setInterval(main, localStorage["refresh"] * 1000);
} }
function initilise(){ function initilise() {
if (isFetching == null) isFetching = false;
if (localStorage["ip_address"] == undefined) {
localStorage["ip_address"] = "http://firefly.artica.es/pandora_demo";
}
if (isFetching == null) isFetching = false; if (localStorage["api_pass"] == undefined) {
if(localStorage["ip_address"]==undefined){ localStorage["api_pass"] = "doreik0";
localStorage["ip_address"]="http://firefly.artica.es/pandora_demo"; }
}
if (localStorage["user_name"] == undefined) {
if(localStorage["api_pass"]==undefined){ localStorage["user_name"] = "demo";
localStorage["api_pass"]="doreik0"; }
}
if (localStorage["pass"] == undefined) {
if(localStorage["user_name"]==undefined){ localStorage["pass"] = "demo";
localStorage["user_name"]="demo"; }
} if (localStorage["critical"] == null) {
localStorage["critical"] = "11";
if(localStorage["pass"]==undefined){ }
localStorage["pass"]="demo"; if (localStorage["informational"] == null) {
} localStorage["informational"] = "1";
if(localStorage["critical"]==null){ }
localStorage["critical"]="11"; if (localStorage["maintenance"] == null) {
} localStorage["maintenance"] = "10";
if(localStorage["informational"]==null){ }
localStorage["informational"]="1"; if (localStorage["normal"] == null) {
} localStorage["normal"] = "6";
if(localStorage["maintenance"]==null){ }
localStorage["maintenance"]="10"; if (localStorage["warning"] == null) {
} localStorage["warning"] = "2";
if(localStorage["normal"]==null){ }
localStorage["normal"]="6"; if (localStorage["events"] == null) {
} localStorage["events"] = 20;
if(localStorage["warning"]==null){ }
localStorage["warning"]="2"; if (localStorage["refresh"] == null) {
} localStorage["refresh"] = "10";
if(localStorage["events"]==null){ }
localStorage["events"]=20; if (localStorage["ip_address"] == null) {
} localStorage["ip_address"] = "http://firefly.artica.es/pandora_demo";
if(localStorage["refresh"]==null){ }
localStorage["refresh"]="10";
} if (localStorage["api_pass"] == null) {
if(localStorage["ip_address"]==null){ localStorage["api_pass"] = "doreik0";
localStorage["ip_address"]="http://firefly.artica.es/pandora_demo"; }
}
if (localStorage["user_name"] == null) {
if(localStorage["api_pass"]==null){ localStorage["user_name"] = "demo";
localStorage["api_pass"]="doreik0"; }
}
if (localStorage["pass"] == null) {
if(localStorage["user_name"]==null){ localStorage["pass"] = "demo";
localStorage["user_name"]="demo"; }
} if (localStorage["sound_alert"] == null) {
localStorage["sound_alert"] = "on";
if(localStorage["pass"]==null){ }
localStorage["pass"]="demo"; if (localStorage["changed"] == null) {
} localStorage["changed"] = "false";
if(localStorage["sound_alert"]==null){ }
localStorage["sound_alert"]="on"; if (localStorage["new_events"] == null) {
} localStorage["new_events"] = parseInt(localStorage["events"]);
if(localStorage["changed"]==null){ }
localStorage["changed"]="false"; if (localStorage["error"] == null) {
} localStorage["error"] = true;
if(localStorage["new_events"]==null){ }
localStorage["new_events"]=parseInt(localStorage["events"]);
}
if(localStorage["error"]==null) {
localStorage["error"] = true;
}
} }

View File

@ -8,7 +8,10 @@ $(document).ready(function() {
bg = chrome.extension.getBackgroundPage(); bg = chrome.extension.getBackgroundPage();
// Display the information // Display the information
if (bg.fetchEvents().length == 0) { var events = bg.fetchEvents();
if (!events) {
showError("Failed to retrieve events, please retry");
} else if (events.length == 0) {
showError("No events"); showError("No events");
} else { } else {
showEvents(); showEvents();

View File

@ -1,6 +1,6 @@
{ {
"name": "__MSG_name__", "name": "__MSG_name__",
"version": "2.2", "version": "2.3",
"manifest_version": 2, "manifest_version": 2,
"description": "Pandora FMS Event viewer Chrome extension", "description": "Pandora FMS Event viewer Chrome extension",
"homepage_url": "http://pandorafms.com", "homepage_url": "http://pandorafms.com",

View File

@ -1,245 +1,262 @@
if ("undefined" == typeof(PandoraChrome)) { /* globals Components, req */
var PandoraChrome = {}; if ("undefined" == typeof PandoraChrome) {
var prefManager = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService).getBranch("pandora."); var PandoraChrome = {};
var prefManager = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefService)
.getBranch("pandora.");
var timer = null; var timer = null;
var allEvents=new Array(); var allEvents = new Array();
var newEvents=new Array(); var newEvents = new Array();
var oldEvents=new Array(); var oldEvents = new Array();
var api_div_numbers=21; var api_div_numbers = 21;
}; }
PandoraChrome.fn = function(){
return {
displaySideBar: function(){
PandoraChrome.fn.hideNotification();
PandoraChrome.fn.hideBadge();
toggleSidebar('viewPandoraSidebar');
},
displayDialog : function(){
window.openDialog("chrome://pandorasidebar/content/options.xul", "","chrome, centerscreen, dialog, modal, resizable=no", null).focus();
},
handleClick: function(e){
if(e.button == 0){
toggleSidebar('viewPandoraSidebar');
PandoraChrome.fn.setIcon('icon16');
}
},
Onloading: function () {
if(prefManager.getBoolPref("firstLoad")){
prefManager.setIntPref("new_events",prefManager.getIntPref("events"));
prefManager.setBoolPref("firstLoad",false);
}
if(timer) { PandoraChrome.fn = (function() {
clearTimeout(timer); return {
} displaySideBar: function() {
timer =setTimeout(PandoraChrome.fn.main , 100 ); PandoraChrome.fn.hideNotification();
}, PandoraChrome.fn.hideBadge();
toggleSidebar("viewPandoraSidebar");
},
displayDialog: function() {
window
.openDialog(
"chrome://pandorasidebar/content/options.xul",
"",
"chrome, centerscreen, dialog, modal, resizable=no",
null
)
.focus();
},
handleClick: function(e) {
if (e.button == 0) {
toggleSidebar("viewPandoraSidebar");
PandoraChrome.fn.setIcon("icon16");
}
},
Onloading: function() {
if (prefManager.getBoolPref("firstLoad")) {
prefManager.setIntPref("new_events", prefManager.getIntPref("events"));
prefManager.setBoolPref("firstLoad", false);
}
main: function() { if (timer) {
// alert('test_main'); clearTimeout(timer);
var url=prefManager.getCharPref("ip_address")+'/include/api.php?op=get&op2=events&return_type=csv&apipass='+prefManager.getCharPref("api_pass")+'&user='+prefManager.getCharPref("user_name")+'&pass='+prefManager.getCharPref("pass"); }
var feedUrl = url; timer = setTimeout(PandoraChrome.fn.main, 100);
prefManager.setBoolPref("data_check", true); },
req = new XMLHttpRequest();
req.onload = PandoraChrome.fn.handleResponse;
req.onerror = PandoraChrome.fn.handleError;
req.open("GET", feedUrl, true);
req.send(null);
},
handleError: function() { main: function() {
//alert("error"); // alert('test_main');
prefManager.setCharPref("data",null); var url =
prefManager.setBoolPref("data_check", false); prefManager.getCharPref("ip_address") +
if(timer) { "/include/api.php?op=get&op2=events&return_type=json";
clearTimeout(timer); var feedUrl = url;
} var data = new FormData();
timer =setTimeout(PandoraChrome.fn.main , 1000);
},
handleResponse: function () { data.append("apipass", prefManager.getCharPref("api_pass"));
var doc = req.responseText; data.append("user", prefManager.getCharPref("user_name"));
if (doc=="auth error") { data.append("pass", prefManager.getCharPref("pass"));
prefManager.setCharPref("data",null);
prefManager.setBoolPref("data_check", false);
if(timer) {
clearTimeout(timer);
}
timer =setTimeout(PandoraChrome.fn.main , 1000);
} prefManager.setBoolPref("data_check", true);
else{ req = new XMLHttpRequest();
var n=doc.search("404 Not Found"); req.onload = PandoraChrome.fn.handleResponse;
if(n>0){ req.onerror = PandoraChrome.fn.handleError;
req.open("POST", feedUrl, true);
req.send(data);
},
prefManager.setCharPref("data",null); handleError: function() {
prefManager.setBoolPref("data_check", false); //alert("error");
if(timer) { prefManager.setCharPref("data", null);
clearTimeout(timer); prefManager.setBoolPref("data_check", false);
} if (timer) {
timer =setTimeout(PandoraChrome.fn.main , 1000); clearTimeout(timer);
} }
timer = setTimeout(PandoraChrome.fn.main, 1000);
else{ },
prefManager.setBoolPref("data_check", true);
prefManager.setCharPref("data",doc); handleResponse: function() {
PandoraChrome.fn.getEvents(doc); var doc = req.responseText;
} if (doc == "auth error") {
} prefManager.setCharPref("data", null);
}, prefManager.setBoolPref("data_check", false);
if (timer) {
clearTimeout(timer);
}
timer = setTimeout(PandoraChrome.fn.main, 1000);
} else {
var n = doc.search("404 Not Found");
if (n > 0) {
prefManager.setCharPref("data", null);
prefManager.setBoolPref("data_check", false);
if (timer) {
clearTimeout(timer);
}
timer = setTimeout(PandoraChrome.fn.main, 1000);
} else {
prefManager.setBoolPref("data_check", true);
getEvents: function (reply){ prefManager.setCharPref("data", doc);
if(reply.length>100){ PandoraChrome.fn.getEvents(doc);
all_event_array=reply.split("\n"); }
allEvents=PandoraChrome.fn.divideArray(all_event_array); }
if(oldEvents.length==0){ },
oldEvents=allEvents;
}
getEvents: function(reply) {
newEvents=PandoraChrome.fn.fetchNewEvents(allEvents,oldEvents); if (reply.length > 100) {
if(newEvents.length!=0){ all_event_array = reply.split("\n");
for(var k=0;k<newEvents.length;k++){ allEvents = PandoraChrome.fn.divideArray(all_event_array);
var temp=prefManager.getIntPref("new_events")+1; if (oldEvents.length == 0) {
prefManager.setIntPref("new_events",temp); oldEvents = allEvents;
PandoraChrome.fn.showNotification(k);
PandoraChrome.fn.showBadge(prefManager.getIntPref("new_events"));
}
}
oldEvents=allEvents;
if(prefManager.getIntPref("new_events")>0){
PandoraChrome.fn.showBadge(prefManager.getIntPref("new_events"));
}
else{
PandoraChrome.fn.hideBadge();
}
if(timer) {
clearTimeout(timer);
}
timer =setTimeout(PandoraChrome.fn.main , prefManager.getIntPref("refresh")*1000 );
}
},
showNotification: function(eventId){
//alert("notify"+eventId);
if(prefManager.getBoolPref("sound_alert")){
if(newEvents[eventId][19]=="Critical"){
Sounds.playSound(prefManager.getIntPref("critical"));
}
if(newEvents[eventId][19]=="Informational"){
Sounds.playSound(prefManager.getIntPref("informational"));
}
if(newEvents[eventId][19]=="Maintenance"){
Sounds.playSound(prefManager.getIntPref("maintenance"));
}
if(newEvents[eventId][19]=="Normal"){
Sounds.playSound(prefManager.getIntPref("normal"));
}
if(newEvents[eventId][19]=="Warning"){
Sounds.playSound(prefManager.getIntPref("warning"));
}
}
var newEve = document.getElementById('newEvent');
newEve.label="Last Event : "+newEvents[eventId][6];
var id;
if(newEvents[eventId][9]==0){
id=".";
}
else {
id= " in the module with Id "+ newEvents[eventId][9] + ".";
}
var event = newEvents[eventId][14]+" : "+newEvents[eventId][17]+". Event occured at "+ newEvents[eventId][5]+id;
newEve.tooltipText=event;
$('#newEvent').show();
return;
},
hideNotification:function(){
//alert("Hide Notif");
$('#newEvent').hide();
},
showBadge: function (txt) {
//alert(txt);
var updateCount = document.getElementById('temp');
updateCount.setAttribute("style","cursor:pointer; font-size:11px; color:#123863; font-weight:bold; display:none;") ;
updateCount.label=txt;
$('#temp').show();
},
hideBadge: function () {
var updateCount = document.getElementById('temp');
//alert("hide B");
$('#temp').hide();
},
divideArray: function (e_array){
var Events=new Array();
for(var i=0;i<e_array.length;i++){
var event=e_array[i].split(";");
Events.push(event);
}
return Events;
},
fetchNewEvents: function (A,B){
var arrDiff = new Array();
// alert(A.length);
//alert(B.length);
for(var i = 0; i < A.length; i++) {
var id = false;
for(var j = 0; j < B.length; j++) {
if(A[i][0] == B[j][0]) {
id = true;
break;
}
}
if(!id) {
arrDiff.push(A[i]);
}
}
return arrDiff;
},
getNotification:function (eventId){
var title=newEvents[eventId][6];
var id;
if(newEvents[eventId][9]==0){
id=".";
}
else {
id= " in the module with Id "+ newEvents[eventId][9] + ".";
}
var event = newEvents[eventId][14]+" : "+newEvents[eventId][17]+". Event occured at "+ newEvents[eventId][5]+id;
//var event=newEvents[eventId][14]+' '+newEvents[eventId][17]+' Event occured at:'+ newEvents[eventId][5] +'in the module with Id '+ newEvents[eventId][9];
return '<a>' + title + '</a> <br/> <span style="font-size:80%">' + event + '</span>';
} }
}; newEvents = PandoraChrome.fn.fetchNewEvents(allEvents, oldEvents);
}(); if (newEvents.length != 0) {
for (var k = 0; k < newEvents.length; k++) {
var temp = prefManager.getIntPref("new_events") + 1;
prefManager.setIntPref("new_events", temp);
PandoraChrome.fn.showNotification(k);
PandoraChrome.fn.showBadge(prefManager.getIntPref("new_events"));
}
}
oldEvents = allEvents;
if (prefManager.getIntPref("new_events") > 0) {
PandoraChrome.fn.showBadge(prefManager.getIntPref("new_events"));
} else {
PandoraChrome.fn.hideBadge();
}
if (timer) {
clearTimeout(timer);
}
timer = setTimeout(
PandoraChrome.fn.main,
prefManager.getIntPref("refresh") * 1000
);
}
},
showNotification: function(eventId) {
//alert("notify"+eventId);
if (prefManager.getBoolPref("sound_alert")) {
if (newEvents[eventId][19] == "Critical") {
Sounds.playSound(prefManager.getIntPref("critical"));
}
if (newEvents[eventId][19] == "Informational") {
Sounds.playSound(prefManager.getIntPref("informational"));
}
if (newEvents[eventId][19] == "Maintenance") {
Sounds.playSound(prefManager.getIntPref("maintenance"));
}
if (newEvents[eventId][19] == "Normal") {
Sounds.playSound(prefManager.getIntPref("normal"));
}
if (newEvents[eventId][19] == "Warning") {
Sounds.playSound(prefManager.getIntPref("warning"));
}
}
var newEve = document.getElementById("newEvent");
newEve.label = "Last Event : " + newEvents[eventId][6];
var id;
if (newEvents[eventId][9] == 0) {
id = ".";
} else {
id = " in the module with Id " + newEvents[eventId][9] + ".";
}
var event =
newEvents[eventId][14] +
" : " +
newEvents[eventId][17] +
". Event occured at " +
newEvents[eventId][5] +
id;
newEve.tooltipText = event;
$("#newEvent").show();
return;
},
hideNotification: function() {
//alert("Hide Notif");
$("#newEvent").hide();
},
showBadge: function(txt) {
//alert(txt);
var updateCount = document.getElementById("temp");
updateCount.setAttribute(
"style",
"cursor:pointer; font-size:11px; color:#123863; font-weight:bold; display:none;"
);
updateCount.label = txt;
$("#temp").show();
},
hideBadge: function() {
var updateCount = document.getElementById("temp");
//alert("hide B");
$("#temp").hide();
},
divideArray: function(e_array) {
var Events = new Array();
for (var i = 0; i < e_array.length; i++) {
var event = e_array[i].split(";");
Events.push(event);
}
return Events;
},
fetchNewEvents: function(A, B) {
var arrDiff = new Array();
// alert(A.length);
//alert(B.length);
for (var i = 0; i < A.length; i++) {
var id = false;
for (var j = 0; j < B.length; j++) {
if (A[i][0] == B[j][0]) {
id = true;
break;
}
}
if (!id) {
arrDiff.push(A[i]);
}
}
return arrDiff;
},
getNotification: function(eventId) {
var title = newEvents[eventId][6];
var id;
if (newEvents[eventId][9] == 0) {
id = ".";
} else {
id = " in the module with Id " + newEvents[eventId][9] + ".";
}
var event =
newEvents[eventId][14] +
" : " +
newEvents[eventId][17] +
". Event occured at " +
newEvents[eventId][5] +
id;
//var event=newEvents[eventId][14]+' '+newEvents[eventId][17]+' Event occured at:'+ newEvents[eventId][5] +'in the module with Id '+ newEvents[eventId][9];
return (
"<a>" +
title +
'</a> <br/> <span style="font-size:80%">' +
event +
"</span>"
);
}
};
})();
/* Add Event Listener */ /* Add Event Listener */
window.addEventListener("load", PandoraChrome.fn.Onloading(), false); window.addEventListener("load", PandoraChrome.fn.Onloading(), false);

View File

@ -3,7 +3,7 @@
# Pandora FMS Mail Transfer # Pandora FMS Mail Transfer
# This is a tool for transfering Pandora FMS data files by mail (SMTP/POP) # This is a tool for transfering Pandora FMS data files by mail (SMTP/POP)
########################################################################## ##########################################################################
# Copyright (c) 2011 Artica Soluciones Tecnologicas S.L # Copyright (c) 2011-2021 Artica Soluciones Tecnologicas S.L
# #
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License # modify it under the terms of the GNU General Public License

View File

@ -325,7 +325,7 @@ respective locations:
root@blackbox01:/tmp/pandora/pandora_agents/linux# ./pandora_agent_installer root@blackbox01:/tmp/pandora/pandora_agents/linux# ./pandora_agent_installer
--install --install
Pandora FMS Agent Installer 1.0 (c) 2007 Sancho Lerena Pandora FMS Agent Installer 1.0 (c) 2021 Sancho Lerena
This program is licensed under GPL2 Terms. http://pandora.sourceforge.net This program is licensed under GPL2 Terms. http://pandora.sourceforge.net
Checking default dir /usr/share/pandora_agent... Checking default dir /usr/share/pandora_agent...

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, AIX version # Version 7.0NG.751, AIX version
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2010 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -2,7 +2,7 @@
#Pandora FMS- http:#pandorafms.com #Pandora FMS- http:#pandorafms.com
# ================================================== # ==================================================
# Copyright (c) 2005-2010 Artica Soluciones Tecnologicas # Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
# Please see http:#pandorafms.org for full contribution list # Please see http:#pandorafms.org for full contribution list
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, FreeBSD Version # Version 7.0NG.751, FreeBSD Version
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2010 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, HP-UX Version # Version 7.0NG.751, HP-UX Version
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, GNU/Linux # Version 7.0NG.751, GNU/Linux
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,6 +1,6 @@
' df_all.vbs ' df_all.vbs
' Returns free space (%) for all drives ' Returns free space (%) for all drives
' Pandora FMS Plugin, (c) 2010 Sancho Lerena ' Pandora FMS Plugin, (c) 2021 Sancho Lerena
' ------------------------------------------ ' ------------------------------------------
Option Explicit Option Explicit

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, GNU/Linux # Version 7.0NG.751, GNU/Linux
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, Solaris Version # Version 7.0NG.751, Solaris Version
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,7 +1,6 @@
# Base config file for Pandora FMS Windows Agent # Base config file for Pandora FMS Windows Agent
# (c) 2006-2010 Artica Soluciones Tecnologicas # (c) 2006-2021 Artica Soluciones Tecnologicas
# Version 7.0NG.750 # Version 7.0NG.751
# This program is Free Software, you can redistribute it and/or modify it # This program is Free Software, you can redistribute it and/or modify it
# under the terms of the GNU General Public Licence as published by the Free Software # under the terms of the GNU General Public Licence as published by the Free Software
# Foundation; either version 2 of the Licence or any later version # Foundation; either version 2 of the Licence or any later version

View File

@ -1,6 +1,6 @@
' df_all.vbs ' df_all.vbs
' Returns free space (%) for all drives ' Returns free space (%) for all drives
' Pandora FMS Plugin, (c) 2010 Sancho Lerena ' Pandora FMS Plugin, (c) 2021 Sancho Lerena
' ------------------------------------------ ' ------------------------------------------
Option Explicit Option Explicit

View File

@ -1,6 +1,6 @@
# Fichero de configuracion base de agentes de Pandora # Fichero de configuracion base de agentes de Pandora
# Base config file for Pandora agents # Base config file for Pandora agents
# Version 7.0NG.750, AIX version # Version 7.0NG.751, AIX version
# General Parameters # General Parameters
# ================== # ==================

View File

@ -1,6 +1,6 @@
# Fichero de configuracion base de agentes de Pandora # Fichero de configuracion base de agentes de Pandora
# Base config file for Pandora agents # Base config file for Pandora agents
# Version 7.0NG.750 # Version 7.0NG.751
# FreeBSD/IPSO version # FreeBSD/IPSO version
# Licenced under GPL licence, 2003-2007 Sancho Lerena # Licenced under GPL licence, 2003-2007 Sancho Lerena

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# ********************************************************************** # **********************************************************************
# Pandora FMS Generic IPSO/HPUX # Pandora FMS Generic IPSO/HPUX
# (c) 2009 Artica Soluciones Tecnológicas SL # (c) 2009-2021 Artica Soluciones Tecnológicas SL
# with the help of many people. Please see http://pandorafms.org # with the help of many people. Please see http://pandorafms.org
# This code is licensed under GPL 2.0 license. # This code is licensed under GPL 2.0 license.
# ********************************************************************** # **********************************************************************

View File

@ -1,6 +1,6 @@
# Fichero de configuracion base de agentes de Pandora # Fichero de configuracion base de agentes de Pandora
# Base config file for Pandora agents # Base config file for Pandora agents
# Version 7.0NG.750, HPUX Version # Version 7.0NG.751, HPUX Version
# General Parameters # General Parameters
# ================== # ==================

View File

@ -2,7 +2,7 @@
#Pandora FMS- http:#pandorafms.com #Pandora FMS- http:#pandorafms.com
# ================================================== # ==================================================
# Copyright (c) 2005-2010 Artica Soluciones Tecnologicas # Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
# Please see http:#pandorafms.org for full contribution list # Please see http:#pandorafms.org for full contribution list
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750 # Version 7.0NG.751
# Licensed under GPL license v2, # Licensed under GPL license v2,
# (c) 2003-2010 Artica Soluciones Tecnologicas # (c) 2003-2021 Artica Soluciones Tecnologicas
# please visit http://pandora.sourceforge.net # please visit http://pandora.sourceforge.net
# General Parameters # General Parameters

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750 # Version 7.0NG.751
# Licensed under GPL license v2, # Licensed under GPL license v2,
# (c) 2003-2009 Artica Soluciones Tecnologicas # (c) 2003-2021 Artica Soluciones Tecnologicas
# please visit http://pandora.sourceforge.net # please visit http://pandora.sourceforge.net
# General Parameters # General Parameters

View File

@ -2,7 +2,7 @@
# ********************************************************************** # **********************************************************************
# Pandora FMS Agent Simulator (MetaAgent) # Pandora FMS Agent Simulator (MetaAgent)
# (c) 2009 Artica Soluciones Tecnológicas SL # (c) 2009-2021 Artica Soluciones Tecnológicas SL
# with the help of many people. Please see http://pandorafms.org # with the help of many people. Please see http://pandorafms.org
# This code is licensed under GPL 2.0 license. # This code is licensed under GPL 2.0 license.
# ********************************************************************** # **********************************************************************

View File

@ -1,5 +1,5 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750 # Version 7.0NG.751
# Licensed under GPL license v2, # Licensed under GPL license v2,
# please visit http://pandora.sourceforge.net # please visit http://pandora.sourceforge.net

View File

@ -1,6 +1,6 @@
# Fichero de configuracion base de agentes de Pandora # Fichero de configuracion base de agentes de Pandora
# Base config file for Pandora agents # Base config file for Pandora agents
# Version 7.0NG.750, Solaris version # Version 7.0NG.751, Solaris version
# General Parameters # General Parameters
# ================== # ==================

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, AIX version # Version 7.0NG.751, AIX version
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2010 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,5 +1,5 @@
package: pandorafms-agent-unix package: pandorafms-agent-unix
Version: 7.0NG.750-201123 Version: 7.0NG.751-210107
Architecture: all Architecture: all
Priority: optional Priority: optional
Section: admin Section: admin

View File

@ -2,7 +2,7 @@
#Pandora FMS- http:#pandorafms.com #Pandora FMS- http:#pandorafms.com
# ================================================== # ==================================================
# Copyright (c) 2005-2010 Artica Soluciones Tecnologicas # Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
# Please see http:#pandorafms.org for full contribution list # Please see http:#pandorafms.org for full contribution list
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
@ -14,7 +14,7 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
pandora_version="7.0NG.750-201123" pandora_version="7.0NG.751-210107"
echo "Test if you has the tools for to make the packages." echo "Test if you has the tools for to make the packages."
whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null

View File

@ -24,7 +24,7 @@ fi
if [ "$#" -ge 2 ]; then if [ "$#" -ge 2 ]; then
VERSION="$2" VERSION="$2"
else else
VERSION="7.0NG.750" VERSION="7.0NG.751"
fi fi
# Path for the generated DMG file # Path for the generated DMG file

View File

@ -19,11 +19,11 @@
<choice id="com.pandorafms.pandorafms_src" visible="false"> <choice id="com.pandorafms.pandorafms_src" visible="false">
<pkg-ref id="com.pandorafms.pandorafms_src"/> <pkg-ref id="com.pandorafms.pandorafms_src"/>
</choice> </choice>
<pkg-ref id="com.pandorafms.pandorafms_src" version="7.0NG.750" onConclusion="none">pandorafms_src.pdk</pkg-ref> <pkg-ref id="com.pandorafms.pandorafms_src" version="7.0NG.751" onConclusion="none">pandorafms_src.pdk</pkg-ref>
<choice id="com.pandorafms.pandorafms_uninstall" visible="true" customLocation="/Applications"> <choice id="com.pandorafms.pandorafms_uninstall" visible="true" customLocation="/Applications">
<pkg-ref id="com.pandorafms.pandorafms_uninstall"/> <pkg-ref id="com.pandorafms.pandorafms_uninstall"/>
</choice> </choice>
<pkg-ref id="com.pandorafms.pandorafms_uninstall" version="7.0NG.750" onConclusion="none">pandorafms_uninstall.pdk</pkg-ref> <pkg-ref id="com.pandorafms.pandorafms_uninstall" version="7.0NG.751" onConclusion="none">pandorafms_uninstall.pdk</pkg-ref>
<!-- <installation-check script="check()" /> <!-- <installation-check script="check()" />
<script> <script>
<![CDATA[ <![CDATA[

View File

@ -5,9 +5,9 @@
<key>CFBundleIconFile</key> <string>pandorafms.icns</string> <key>CFBundleIconFile</key> <string>pandorafms.icns</string>
<key>CFBundleIdentifier</key> <string>com.pandorafms.pandorafms_uninstall</string> <key>CFBundleIdentifier</key> <string>com.pandorafms.pandorafms_uninstall</string>
<key>CFBundleVersion</key> <string>7.0NG.750</string> <key>CFBundleVersion</key> <string>7.0NG.751</string>
<key>CFBundleGetInfoString</key> <string>7.0NG.750 Pandora FMS Agent uninstaller for MacOS by Artica ST on Aug 2020</string> <key>CFBundleGetInfoString</key> <string>7.0NG.751 Pandora FMS Agent uninstaller for MacOS by Artica ST on Aug 2020</string>
<key>CFBundleShortVersionString</key> <string>7.0NG.750</string> <key>CFBundleShortVersionString</key> <string>7.0NG.751</string>
<key>NSPrincipalClass</key><string>NSApplication</string> <key>NSPrincipalClass</key><string>NSApplication</string>
<key>NSMainNibFile</key><string>MainMenu</string> <key>NSMainNibFile</key><string>MainMenu</string>

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, GNU/Linux # Version 7.0NG.751, GNU/Linux
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2012 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, FreeBSD Version # Version 7.0NG.751, FreeBSD Version
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2016 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, HP-UX Version # Version 7.0NG.751, HP-UX Version
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, GNU/Linux # Version 7.0NG.751, GNU/Linux
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2014 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,6 +1,6 @@
' df_all.vbs ' df_all.vbs
' Returns free space (%) for all drives ' Returns free space (%) for all drives
' Pandora FMS Plugin, (c) 2010 Sancho Lerena ' Pandora FMS Plugin, (c) 2021 Sancho Lerena
' ------------------------------------------ ' ------------------------------------------
Option Explicit Option Explicit

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, GNU/Linux # Version 7.0NG.751, GNU/Linux
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, NetBSD Version # Version 7.0NG.751, NetBSD Version
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2010 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

View File

@ -1,7 +1,7 @@
# Base config file for Pandora FMS agents # Base config file for Pandora FMS agents
# Version 7.0NG.750, Solaris Version # Version 7.0NG.751, Solaris Version
# Licensed under GPL license v2, # Licensed under GPL license v2,
# Copyright (c) 2003-2009 Artica Soluciones Tecnologicas # Copyright (c) 2003-2021 Artica Soluciones Tecnologicas
# http://www.pandorafms.com # http://www.pandorafms.com
# General Parameters # General Parameters

File diff suppressed because it is too large Load Diff

View File

@ -2,8 +2,8 @@
#Pandora FMS Linux Agent #Pandora FMS Linux Agent
# #
%define name pandorafms_agent_unix %define name pandorafms_agent_unix
%define version 7.0NG.750 %define version 7.0NG.751
%define release 201123 %define release 210107
Summary: Pandora FMS Linux agent, PERL version Summary: Pandora FMS Linux agent, PERL version
Name: %{name} Name: %{name}

View File

@ -2,8 +2,8 @@
#Pandora FMS Linux Agent #Pandora FMS Linux Agent
# #
%define name pandorafms_agent_unix %define name pandorafms_agent_unix
%define version 7.0NG.750 %define version 7.0NG.751
%define release 201123 %define release 210107
Summary: Pandora FMS Linux agent, PERL version Summary: Pandora FMS Linux agent, PERL version
Name: %{name} Name: %{name}

View File

@ -9,8 +9,8 @@
# Please see http://www.pandorafms.org. This code is licensed under GPL 2.0 license. # Please see http://www.pandorafms.org. This code is licensed under GPL 2.0 license.
# ********************************************************************** # **********************************************************************
PI_VERSION="7.0NG.750" PI_VERSION="7.0NG.751"
PI_BUILD="201123" PI_BUILD="210107"
OS_NAME=`uname -s` OS_NAME=`uname -s`
FORCE=0 FORCE=0

View File

@ -1,7 +1,6 @@
# Base config file for Pandora FMS Windows Agent # Base config file for Pandora FMS Windows Agent
# (c) 2006-2017 Artica Soluciones Tecnologicas # (c) 2006-2021 Artica Soluciones Tecnologicas
# Version 7.0NG.750 # Version 7.0NG.751
# This program is Free Software, you can redistribute it and/or modify it # This program is Free Software, you can redistribute it and/or modify it
# under the terms of the GNU General Public Licence as published by the Free Software # under the terms of the GNU General Public Licence as published by the Free Software
# Foundation; either version 2 of the Licence or any later version # Foundation; either version 2 of the Licence or any later version

View File

@ -1,6 +1,6 @@
' df_all.vbs ' df_all.vbs
' Returns free space (%) for all drives ' Returns free space (%) for all drives
' Pandora FMS Plugin, (c) 2014 Sancho Lerena ' Pandora FMS Plugin, (c) 2021 Sancho Lerena
' ------------------------------------------ ' ------------------------------------------
Option Explicit Option Explicit

View File

@ -1,6 +1,6 @@
' df_all.vbs ' df_all.vbs
' Returns used space (%) for all drives ' Returns used space (%) for all drives
' Pandora FMS Plugin, (c) 2014 Sancho Lerena ' Pandora FMS Plugin, (c) 2021 Sancho Lerena
' ------------------------------------------ ' ------------------------------------------
Option Explicit Option Explicit

View File

@ -1,6 +1,6 @@
' df_all.vbs ' df_all.vbs
' Returns used space (%) for all drives ' Returns used space (%) for all drives
' Pandora FMS Plugin, (c) 2014 Sancho Lerena ' Pandora FMS Plugin, (c) 2021 Sancho Lerena
' ------------------------------------------ ' ------------------------------------------
Option Explicit Option Explicit

View File

@ -1,6 +1,6 @@
' df_all.vbs ' df_all.vbs
' Returns free space (%) for all drives ' Returns free space (%) for all drives
' Pandora FMS Plugin, (c) 2014 Sancho Lerena ' Pandora FMS Plugin, (c) 2021 Sancho Lerena
' ------------------------------------------ ' ------------------------------------------
Option Explicit Option Explicit

View File

@ -1,6 +1,6 @@
' nettraffic.vbs ' nettraffic.vbs
' Pandora FMS Agent Plugin for Microsoft Windows (All platfforms) ' Pandora FMS Agent Plugin for Microsoft Windows (All platfforms)
' (c) 2014 Sancho Lerena <slerena@artica.es> ' (c) 2021 Sancho Lerena <slerena@artica.es>
' Returns total bytes in network since bootup and % of network use ' Returns total bytes in network since bootup and % of network use
' ---------------------------------------------------------------- ' ----------------------------------------------------------------
' usage: cscript //B nettraffic.vbs ' usage: cscript //B nettraffic.vbs

Binary file not shown.

View File

@ -1,6 +1,6 @@
' windows_product_key.vbs ' windows_product_key.vbs
' Pandora FMS Agent Inventory Plugin for Microsoft Windows (All platfforms) ' Pandora FMS Agent Inventory Plugin for Microsoft Windows (All platfforms)
' (c) 2015 Sancho Lerena <slerena@artica.es> ' (c) 2021 Sancho Lerena <slerena@artica.es>
' This plugin extends agent inventory feature. Only enterprise version ' This plugin extends agent inventory feature. Only enterprise version
' ---------------------------------------------------------------- ' ----------------------------------------------------------------

View File

@ -1,6 +1,6 @@
' windows_product_key.vbs ' windows_product_key.vbs
' Pandora FMS Agent Inventory Plugin for Microsoft Windows (All platfforms) ' Pandora FMS Agent Inventory Plugin for Microsoft Windows (All platfforms)
' (c) 2015 Sancho Lerena <slerena@artica.es> ' (c) 2021 Sancho Lerena <slerena@artica.es>
' This plugin extends agent inventory feature. Only enterprise version ' This plugin extends agent inventory feature. Only enterprise version
' ---------------------------------------------------------------- ' ----------------------------------------------------------------

View File

@ -1,5 +1,5 @@
' Pandora FMS Agent Inventory Plugin for Microsoft Windows (All platfforms) ' Pandora FMS Agent Inventory Plugin for Microsoft Windows (All platfforms)
' (c) 2015 Sancho Lerena <slerena@artica.es> ' (c) 2021 Sancho Lerena <slerena@artica.es>
' (c) 2015 Borja Sanchez <fborja.sanchez@artica.es> ' (c) 2015 Borja Sanchez <fborja.sanchez@artica.es>
' This plugin extends agent inventory feature. Only enterprise version ' This plugin extends agent inventory feature. Only enterprise version
' -------------------------------------------------------------------------- ' --------------------------------------------------------------------------

View File

@ -1,6 +1,6 @@
/* Class to abstract an FTP client. It uses libcurl. /* Class to abstract an FTP client. It uses libcurl.
Copyright (C) 2006 Artica ST. Copyright (c) 2006-2021 Artica ST.
Written by Esteban Sanchez. Written by Esteban Sanchez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Class to abstract an FTP client. It uses libcurl. /* Class to abstract an FTP client. It uses libcurl.
Copyright (C) 2006 Artica ST. Copyright (c) 2006-2021 Artica ST.
Written by Esteban Sanchez. Written by Esteban Sanchez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Test module to prove FTP connection. /* Test module to prove FTP connection.
Copyright (C) 2006 Artica ST. Copyright (c) 2006-2021 Artica ST.
Written by Esteban Sanchez. Written by Esteban Sanchez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Test module to prove FTP connection. /* Test module to prove FTP connection.
Copyright (C) 2006 Artica ST. Copyright (c) 2006-2021 Artica ST.
Written by Esteban Sanchez. Written by Esteban Sanchez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -3,7 +3,7 @@ AllowLanguageSelection
{Yes} {Yes}
AppName AppName
{Pandora FMS Windows Agent v7.0NG.750} {Pandora FMS Windows Agent v7.0NG.751}
ApplicationID ApplicationID
{17E3D2CF-CA02-406B-8A80-9D31C17BD08F} {17E3D2CF-CA02-406B-8A80-9D31C17BD08F}
@ -186,7 +186,7 @@ UpgradeApplicationID
{} {}
Version Version
{201123} {210107}
ViewReadme ViewReadme
{Yes} {Yes}

View File

@ -1,6 +1,6 @@
/* Pandora Windows agent main file. /* Pandora Windows agent main file.
Copyright (C) 2006 Artica ST. Copyright (c) 2006-2021 Artica ST.
Written by Esteban Sanchez. Written by Esteban Sanchez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Pandora cron manager for Win32. /* Pandora cron manager for Win32.
Copyright (C) 2018 Artica ST. Copyright (c) 2018-2021 Artica ST.
Written by Fermin Hernandez. Written by Fermin Hernandez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Pandora cron manager for Win32. /* Pandora cron manager for Win32.
Copyright (C) 2018 Artica ST. Copyright (c) 2018-2021 Artica ST.
Written by Fermin Hernandez. Written by Fermin Hernandez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Misc utils for files. /* Misc utils for files.
Copyright (C) 2006 Artica ST. Copyright (c) 2006-2021 Artica ST.
Written by Esteban Sanchez. Written by Esteban Sanchez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Misc utils for files. /* Misc utils for files.
Copyright (C) 2006 Artica ST. Copyright (c) 2006-2021 Artica ST.
Written by Esteban Sanchez. Written by Esteban Sanchez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Pandora agents service for Win32. /* Pandora agents service for Win32.
Copyright (C) 2016 Artica ST. Copyright (c) 2016-2021 Artica ST.
Written by Ramon Novoa. Written by Ramon Novoa.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Pandora agents service for Win32. /* Pandora agents service for Win32.
Copyright (C) 2016 Artica ST. Copyright (c) 2016-2021 Artica ST.
Written by Ramon Novoa. Written by Ramon Novoa.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Pandora data class to represent a value and a timestamp. /* Pandora data class to represent a value and a timestamp.
Copyright (C) 2006 Artica ST. Copyright (c) 2006-2021 Artica ST.
Written by Esteban Sanchez. Written by Esteban Sanchez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

View File

@ -1,6 +1,6 @@
/* Pandora data class to represent a value and a timestamp. /* Pandora data class to represent a value and a timestamp.
Copyright (C) 2006 Artica ST. Copyright (c) 2006-2021 Artica ST.
Written by Esteban Sanchez. Written by Esteban Sanchez.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify

Some files were not shown because too many files have changed in this diff Show More