Projector NEC

This forum is intended for the discussion of Nagios plugin development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagiosplug-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Projector NEC

Postby tvoperation » Mon Nov 19, 2018 10:41 am

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
tvoperation
 
Posts: 3
Joined: Mon Nov 19, 2018 10:33 am

Re: Projector NEC

Postby scottwilkerson » Mon Nov 19, 2018 12:43 pm

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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 14110
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Projector NEC

Postby tvoperation » Mon Nov 19, 2018 1:21 pm

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?
tvoperation
 
Posts: 3
Joined: Mon Nov 19, 2018 10:33 am

Re: Projector NEC

Postby scottwilkerson » Mon Nov 19, 2018 1:27 pm

You will need to know the SNMP oid you need to monitor. Once you have that, you can monitor it with something like this

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


where public is your community string and .1.3.6.1.2.1.1.4.0 is the OID you want to monitor
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 14110
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Projector NEC

Postby tvoperation » Tue Nov 20, 2018 6:55 am

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.
tvoperation
 
Posts: 3
Joined: Mon Nov 19, 2018 10:33 am

Re: Projector NEC

Postby scottwilkerson » Tue Nov 20, 2018 8:43 am

We would have no way of knowing this, you would have to get that from the manufacturer.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 14110
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Plugin Development

Who is online

Users browsing this forum: No registered users and 3 guests