librenms/tests/snmpsim/linux_sneck-v1.snmprec
Zane C. Bowers-Hadley 5da8e70bf4
add Sneck support, making it very trivial to use Nagios style checks in a NRPE like manner (#13954)
* code stuff done for Sneck

* whoops, correct the abs value post adding it post rrd update

* return a array for getting the sneck data and nicely print the raw return value

* add test stuff and freeze time at 1650911765 for tests

* move the freezeTime

* add use Illuminate\Support\Carbon;

* more test changes

* rework freezeTime a bit more

* more test stuff

* another test

* rework it a bit again

* correct variable spelling for $time_diff

* remove freezeTime as we are using a old version of Laravel

* finalize graphs

* misc

* finalize sneck page

* mve the sneck tests as it needs a newer version of laravel than we are using

* add documents for sneck

* finalize the poller

* formatting cleanup

* correct comment type

* correct the spelling of description

* more documentation

* save the check returns as metrics

* add some more examples

* fix some of the sneck alerts and add a few more examples

* turn off time to polling by default

* suggest using ntp if enabled

* since we are zeroing time_to_polling by default, this now works

* backout some suggested changes for once we change to larval 9

* remove del_sneck_data as it is no longer used

* add more docs on the metrics

* php-cs-fixer to fix a few things

* update and fix sneck tests

* remote a metric from the test

* another minor tweak to the test

* one more minor change

* ahh! derp! think I found it finally... hopefully hanging this for the last time...

* now use app data

* now logs check changes

* add a missing )

* add a missing )

* some style fixes

* update the sneck page use to the app data stuff

* update the poller to use the new app data

* misc

* update sneck to log check status changes

* correct alert log messages

* correct a comment

* fix metrics

* derp, another fix

* test fix

* re-order to avoid warning

* poller update

* update sneck graphs

* update sneck graphs

* remove a unneeded line

* test update for discovery

* minor tweaks to the test and fix update the polling a bit

* style fix

* fix return data printing

* fix the test data to include app data

* attempted test fix

* add config def to apps.sneck.polling_time_diff

* cleanup docs a bit

* minor config tweaks

* minor doc cleanup
2023-06-15 09:06:28 -05:00

11 lines
5.8 KiB
Plaintext

1.3.6.1.2.1.1.1.0|4|Linux server 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.8072.3.2.10
1.3.6.1.2.1.1.3.0|67|77550514
1.3.6.1.2.1.1.4.0|4|<private>
1.3.6.1.2.1.1.5.0|4|<private>
1.3.6.1.2.1.1.6.0|4|<private>
1.3.6.1.2.1.25.1.1.0|67|77552962
1.3.6.1.4.1.8072.1.3.2.2.1.21.6.100.105.115.116.114.111|2|1
1.3.6.1.4.1.8072.1.3.2.2.1.21.5.115.110.101.99.107|2|1
1.3.6.1.4.1.8072.1.3.2.3.1.2.5.115.110.101.99.107|4x|7b0a20202264617461223a207b0a2020202022616c657274223a20302c0a2020202022616c657274537472696e67223a2022222c0a2020202022636865636b73223a207b0a20202020202022636c616d6176223a207b0a202020202020202022636865636b223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f636c616d6176202d772032202d632033222c0a20202020202020202265786974223a20302c0a2020202020202020226f7574707574223a2022436c616d4156204f4b3a206461696c792e6376642032363537392028547565204a756e2032312030383a31353a333020323032322920697320757020746f2064617465222c0a20202020202020202272616e223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f636c616d6176202d772032202d632033220a2020202020207d2c0a20202020202022656e74726f7079223a207b0a202020202020202022636865636b223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f656e74726f7079222c0a20202020202020202265786974223a20302c0a2020202020202020226f7574707574223a20224f4b3a203336343920627974657320696e2074686520706f6f6c2e7c656e74726f70793d33363439206279746573222c0a20202020202020202272616e223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f656e74726f7079220a2020202020207d2c0a2020202020202268747470223a207b0a202020202020202022636865636b223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f68747470202d48203132372e302e302e313a38303030222c0a20202020202020202265786974223a20302c0a2020202020202020226f7574707574223a202248545450204f4b3a20485454502f312e3120323030204f4b202d203632343920627974657320696e20302e303537207365636f6e6420726573706f6e73652074696d65207c74696d653d302e303537323337733b3b3b302e3030303030303b31302e3030303030302073697a653d36323439423b3b3b30222c0a20202020202020202272616e223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f68747470202d48203132372e302e302e313a38303030220a2020202020207d2c0a2020202020202269706d695f73656e736f72223a207b0a202020202020202022636865636b223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f69706d695f73656e736f72202d2d6e6f73656c222c0a20202020202020202265786974223a20302c0a2020202020202020226f7574707574223a202249504d49205374617475733a204f4b207c20274350552054656d70273d35302e30303b302e30303a39372e30303b302e30303a3130322e3030202753797374656d2054656d70273d33372e30303b302e30303a38302e30303b2d352e30303a38352e303020275065726970686572616c2054656d70273d34372e30303b302e30303a38302e30303b2d352e30303a38352e3030202744494d4d42312054656d70273d33362e30303b352e30303a38302e30303b302e30303a38352e3030202744494d4d42322054656d70273d33382e30303b352e30303a38302e30303b302e30303a38352e3030202746414e31273d343130302e30303b3730302e30303a32353330302e30303b3530302e30303a32353430302e3030202746414e32273d333430302e30303b3730302e30303a32353330302e30303b3530302e30303a32353430302e3030202746414e33273d343330302e30303b3730302e30303a32353330302e30303b3530302e30303a32353430302e3030202756434350273d312e38363b312e35373a322e30323b312e34363a322e313320275644494d4d273d312e32303b312e30353a312e33343b302e39373a312e34332027313256273d31322e31333b31302e37383a31322e39363b31302e32373a31332e3238202735564343273d352e30333b342e34383a352e33393b342e33303a352e35352027332e33564343273d332e34303b322e39363a332e35353b322e38323a332e3636202756424154273d332e31343b322e35393a332e34393b322e34373a332e353720273556204475616c273d352e30303b342e34393a352e33383b342e33303a352e35342027332e335620415558273d332e33323b322e39363a332e35353b322e38323a332e3636222c0a20202020202020202272616e223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f69706d695f73656e736f72202d2d6e6f73656c220a2020202020207d2c0a202020202020226d6f6e676f6462223a207b0a202020202020202022636865636b223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f6d6f6e676f64622e7079222c0a20202020202020202265786974223a20302c0a2020202020202020226f7574707574223a20224f4b202d20436f6e6e656374696f6e20746f6f6b20302e303131207365636f6e6473222c0a20202020202020202272616e223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f6d6f6e676f64622e7079220a2020202020207d2c0a2020202020202272616964223a207b0a202020202020202022636865636b223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f72616964222c0a20202020202020202265786974223a20302c0a2020202020202020226f7574707574223a20224f4b3a206d64737461743a5b6d643028322e373320546942207261696431293a55555d222c0a20202020202020202272616e223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f72616964220a2020202020207d2c0a202020202020227669727471656d75645f70726f6373223a207b0a202020202020202022636865636b223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f70726f6373202d2d657265672d617267756d656e742d617272617920275e2f7573722f7362696e2f7669727471656d75642720313a32222c0a20202020202020202265786974223a20302c0a2020202020202020226f7574707574223a202250524f4353204f4b3a20312070726f636573732077697468207265676578206172677320275e2f7573722f7362696e2f7669727471656d756427207c2070726f63733d313b313a323b3b303b222c0a20202020202020202272616e223a20222f7573722f6c69622f6e6167696f732f706c7567696e732f636865636b5f70726f6373202d2d657265672d617267756d656e742d617272617920275e2f7573722f7362696e2f7669727471656d75642720313a32220a2020202020207d0a202020207d2c0a2020202022637269746963616c223a20302c0a20202020226572726f726564223a20302c0a2020202022686f73746e616d65223a20226e616769222c0a20202020226f6b223a20372c0a202020202274696d65223a20313635353833353930312c0a2020202022756e6b6e6f776e223a20302c0a202020202276617273223a207b7d2c0a20202020227761726e696e67223a20300a20207d2c0a2020226572726f72223a20302c0a2020226572726f72537472696e67223a2022222c0a20202276657273696f6e223a20310a7d0a