Fórumok
Sziasztok!
Lenne egy kis gondom Nagios nyomtató beüzemelésnél... a ping megy de a Printer Status:
(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_hpjd, ...) failed. errno is 2: No such file or directory
A rendszer frissen telepítettett
5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux
A nagiost így telepítettem
https://computingforgeeks.com/install-and-configure-nagios-on-debian-10…
A modulok: nagios-plugins-2.4.2.tar.gz
A modulokat telepítettem rootként
cd nagios-plugins-$VER
./configure --with-nagios-user=nagios --with-nagios-group=nagios
make
make install
És a libexec-ből hiányzik a check_hpjd...
Megnéztem a check_hpjd.c ott van, csak nem fordul le... Tud valaki tanácsot adni?
Hozzászólások
Itt a leányzó összekattintgatja:
https://www.youtube.com/watch?v=dy8wyaIidH8
Ezt már láttam, de ez a Nagios XI (fizetős) verzióra vonatkozik... Ott tényleg összekattingatod, egyébként meg szerkesztgetheted a confog fájlokat... :)
Akkor együtt várakozunk a megoldásra :)
Mondjuk eddig nem is akartam, hogy egy elakadt papír miatt szétspameljem a maiboxomat egy hétvégén :)
Sajnos nem egy van... olyan hetven körül... Jó lenne látni a festékkazetták állapotát...
Valami függőség hiányozhat.
https://github.com/nagios-plugins/nagios-plugins/blob/master/plugins/ch…
#include "netutils.h"
Én is valami ilyesmire gondolok, de minden lefutott hibaüzenet nélkül...
https://www.slideshare.net/superdupersheep/stop-using-nagios-so-it-can-…
Csak a nyito slide :)
Az XI jól megy csak fizetős... akkor mi érdemes használni helyette, ami nem fizetős és hatékony...
A főnököd is épp ezt kérdezi, hatékony és nem fizetős kollégát keres. 404 Not found. :)
Most sikerült lefordítani a check_hpjd-t de ez a hiba:
Igaz ez egy xerox 7830 nyomtató...
snmpwalk -v 2c -c public 192.168.1.xxx működik...
Egyáltalán magában a printerben engedélyezve van az SNMP publc lekérdezés? Ha igen milyen verzión ? v1/2 vagy v3 , stb ?
ps.: jah közben látom hogy snmpwalk az megy konzolból, akkor esetleg a nagios pluginba szétnézni hogy milyen verzióval akarja megszólítani ? Bár a HP nem is biztos hogy SNMP-n szólogatja a saját vackait ..
ps2.: bár pluginbe belenézve SNMP-n át akar beszélgetni .. ugyan arról a gépről futtattad le az snmpwalkot amiről et a hpigj* nagios is futna ? Esetleg selinux/apparmor/vagy bármi egyéb nem játszik ami megfogja magát ezt a plugint hogy egyáltalán ellásson a 161-es snmp portra ?
https://exchange.nagios.org/directory/Plugins/Hardware/Printers/check_p…
Ez nem játszik?
Aláírás _Franko_ miatt törölve.
neut @
REQUIREMENTS file reszlet:
szerk:
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/mon…