good morning,
I can not create a plugin on my NAGIOS, I have a NEC PA803U projector, I would like to create a plugin that will check me if the projector is on or off. some idea?
thank you all
Projector NEC
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Projector NEC
Does this projector have a network connection?
If so does it have an SNMP interface you can write a plugin to monitor a specif SNMP OID to see if it is on or off?
If so does it have an SNMP interface you can write a plugin to monitor a specif SNMP OID to see if it is on or off?
-
- Posts: 3
- Joined: Mon Nov 19, 2018 10:33 am
Re: Projector NEC
yes Scott,
the projector is connected to the network and I can manage it from the web interface.
the manufacturer confirms that the snmp protocol is present on this model. could you give me an example of a script to be able to rehearse?
the projector is connected to the network and I can manage it from the web interface.
the manufacturer confirms that the snmp protocol is present on this model. could you give me an example of a script to be able to rehearse?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Projector NEC
You will need to know the SNMP oid you need to monitor. Once you have that, you can monitor it with something like this
where public is your community string and .1.3.6.1.2.1.1.4.0 is the OID you want to monitor
Code: Select all
/usr/local/nagios/libexec/check_snmp -H xxx.xxx.xxx.xxx -P 2c -C public -o .1.3.6.1.2.1.1.4.0
-
- Posts: 3
- Joined: Mon Nov 19, 2018 10:33 am
Re: Projector NEC
perfect,
would you tell me how to find the OID of the projector? the manufacturer says that the projector is enabled for smnp.
I'm sorry but I found this installation of nagios at my new job, and having never worked there are in trouble.
would you tell me how to find the OID of the projector? the manufacturer says that the projector is enabled for smnp.
I'm sorry but I found this installation of nagios at my new job, and having never worked there are in trouble.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Projector NEC
We would have no way of knowing this, you would have to get that from the manufacturer.