vtacius / teresa Goto Github PK
View Code? Open in Web Editor NEWUn sencillo script para verificar el estado de dispositivos en base a los datos de LibreNMS
License: GNU General Public License v3.0
Un sencillo script para verificar el estado de dispositivos en base a los datos de LibreNMS
License: GNU General Public License v3.0
Here is what I've changed:
<?php
/* Obtenemos los datos desde nuestra fuente primaria: Por ahora, la API de libreNMS */
$curl = curl_init();
#require_once('config.php');
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://librenms.sefaz.go.gov.br/api/v0/devices', <---[THE URL]
CURLOPT_HTTPHEADER => ['X-Auth-Token: ' . 'I put here the api key directly'],
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => false, [MY LIBRENMS IS HTTPS]
CURLOPT_RETURNTRANSFER => true
));
I didn't get nothing on the map yet. Did I do something wrong?
Y devolverles mensajes más apropiados
Debería haber un mensaje por defecto para que le envíe mensajes al conectarse
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.