Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation d'une page Santé de tous les equpement #34

Open
mika-nt28 opened this issue Sep 27, 2018 · 6 comments
Open

Creation d'une page Santé de tous les equpement #34

mika-nt28 opened this issue Sep 27, 2018 · 6 comments
Labels
enhancement New feature or request

Comments

@mika-nt28
Copy link
Owner

  • Affichage des informations du serveur
  • Affichages des informations utile a chaque equipement
@mika-nt28 mika-nt28 added the enhancement New feature or request label Sep 27, 2018
@mika-nt28
Copy link
Owner Author

@poluket quel élément spécifique au plugin aimerai tu avoir dans la page santé

@poluket
Copy link
Contributor

poluket commented Sep 27, 2018

Je vais regarder

@poluket
Copy link
Contributor

poluket commented Sep 27, 2018

pour la requete GET : http://192.168.3.195/api/v0/devices/imprimante.poluket.ovh

{
"status": "ok",
"devices": [
{
"device_id": 8,
"hostname": "imprimante.poluket.ovh",
"sysName": "imprimante",
"ip": "192.168.3.180",
"community": "public",
"authlevel": null,
"authname": null,
"authpass": null,
"authalgo": null,
"cryptopass": null,
"cryptoalgo": null,
"snmpver": "v2c",
"port": 161,
"transport": "udp",
"timeout": null,
"retries": null,
"snmp_disable": 0,
"bgpLocalAs": null,
"sysObjectID": ".1.3.6.1.4.1.641.2.71107111",
"sysDescr": "Lexmark MX317dn version NH63.SB.N638 kernel 3.0.0 All-N-1",
"sysContact": null,
"version": null,
"hardware": "MX317dn",
"features": null,
"location": "Bureau",
"os": "lexmarkprinter",
"status": 1,
"status_reason": "",

"ignore": 0,
"disabled": 0,
"uptime": 12911406,
"agent_uptime": 0,
"last_polled": "2018-09-18 21:45:09",
"last_poll_attempted": null,
"last_polled_timetaken": 5.82,
"last_discovered_timetaken": 2.82,
"last_discovered": "2018-09-18 18:33:54",
"last_ping": "2018-09-18 21:45:09",
"last_ping_timetaken": 1.3,
"purpose": "",
"type": "printer",
"serial": null,
"icon": "lexmark.svg",
"poller_group": 0,
"override_sysLocation": 1,
"notes": null,
"port_association_mode": 1,
"max_depth": 0,
"dependency_parent_id": null,
"dependency_parent_hostname": null,
"lat": 41.359917,
"lng": -89.47422
},

j'ai mis en gras ce qui me semble pas mal a avoir. on sais voir si le status est ok ou pas, quand les derniers ping et requetes ont été faite

@poluket
Copy link
Contributor

poluket commented Sep 28, 2018

et quand le device est down, voila ce que cela donne:
{
"device_id": 15,
"hostname": "unifigarage.poluket.ovh",
"sysName": "unifigarage",
"ip": "192.168.3.141",
"community": "public",
"authlevel": null,
"authname": null,
"authpass": null,
"authalgo": null,
"cryptopass": null,
"cryptoalgo": null,
"snmpver": "v1",
"port": 161,
"transport": "udp",
"timeout": null,
"retries": null,
"snmp_disable": 0,
"bgpLocalAs": null,
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "UAP-AC-Lite 3.9.21.8191",
"sysContact": "root@localhost",
"version": "3.9.21.8191",
"hardware": "UAP-AC-Lite",
"features": null,
"location": "Unknown",
"os": "unifi",
"status": 0,
"status_reason": "icmp",

"ignore": 0,
"disabled": 0,
"uptime": 1219978,
"agent_uptime": 0,
"last_polled": "2018-09-25 19:25:12",
"last_poll_attempted": null,
"last_polled_timetaken": 7.41,
"last_discovered_timetaken": 2.34,
"last_discovered": "2018-09-25 18:34:13",
"last_ping": "2018-09-25 19:25:12",
"last_ping_timetaken": 0.37,

"purpose": null,
"type": "wireless",
"serial": null,
"icon": "ubiquiti.svg",
"poller_group": 0,
"override_sysLocation": 0,
"notes": null,
"port_association_mode": 1,
"max_depth": 0,
"dependency_parent_id": null,
"dependency_parent_hostname": null,
"lat": 41.62627,
"lng": -79.673584
},

@mika-nt28
Copy link
Owner Author

Est ce que se ne serai pas interresant de mettre a jours ses informations sur une commande, pour quel soit utilisable dans un scénario par exemple

@poluket
Copy link
Contributor

poluket commented Sep 28, 2018

si tout a fait. il y a plein d'info partout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants