Hi,
I would like to use NagiosXI to plot a graph of temperature variation from one of my sensors in the server room(connected to the RPI).
The NagiosXI server has found the OID of the temperature sensor measurement (SNMP). Is it possible to now plot the graph of these measurments?
If yes, what is the process to achieve this?
Temperature Sensor Connected to Raspberry Pi
Re: Temperature Sensor Connected to Raspberry Pi
Have you configured a service to check the temperature yet?
If so, navigate to the service from the 'Service Details Page', followed by the 'Advanced Tab'.
Do you see any output next to Performance Data?
If so, navigate to the service from the 'Service Details Page', followed by the 'Advanced Tab'.
Do you see any output next to Performance Data?
Former Nagios Employee
Re: Temperature Sensor Connected to Raspberry Pi
Thanks, I now know where the graph is supposed to be. However, it only shows the message "no data to display".
I used SNMPWalk to select a particular OID. The output is in a form of a string e.g. 21700 [in mili deg. Celsius]
I might have made a mistake in filling in the information about OID.
In this case, what should I put in Warning Range / Critical Range / String To Match.
I am interested in the syntax e.g is it okay to write 25000 - 30000 in the Critical Range ?
I used SNMPWalk to select a particular OID. The output is in a form of a string e.g. 21700 [in mili deg. Celsius]
I might have made a mistake in filling in the information about OID.
In this case, what should I put in Warning Range / Critical Range / String To Match.
I am interested in the syntax e.g is it okay to write 25000 - 30000 in the Critical Range ?
Re: Temperature Sensor Connected to Raspberry Pi
Can you check to see if anything is next to the Performance Data tab? It will look like - As for what should be the critical / warning variables - not too sure as every device is different.rkennedy wrote:Navigate to the service from the 'Service Details Page', followed by the 'Advanced Tab'.
Do you see any output next to Performance Data?
You do not have the required permissions to view the files attached to this post.
Former Nagios Employee
Re: Temperature Sensor Connected to Raspberry Pi
And do you know what is the "String To Match" by any chance ?
I deleted my current service since I would like to change some values.
I will check what you showed me as soon as I fill in these three boxes (String To Match etc.)
I deleted my current service since I would like to change some values.
I will check what you showed me as soon as I fill in these three boxes (String To Match etc.)
Last edited by JohnS on Mon Nov 23, 2015 2:15 pm, edited 1 time in total.
Re: Temperature Sensor Connected to Raspberry Pi
Can you answer the post above?
Is this what you're referring to? It lets you specify a string to match that will produce an OK alert if it's specified in the SNMP response.
Code: Select all
-s, --string=STRING
Return OK state (for that OID) if STRING is an exact match
Former Nagios Employee
Re: Temperature Sensor Connected to Raspberry Pi
I tried to monitor just CPU temperature of Raspberry Pi and still cannot get any graph though. Even after almost an hour doesnt show up.
You do not have the required permissions to view the files attached to this post.
Re: Temperature Sensor Connected to Raspberry Pi
SNMP is working but no graph... (almost an hour has passed already).
You do not have the required permissions to view the files attached to this post.
Re: Temperature Sensor Connected to Raspberry Pi
Can you post the results of the following commands? In the third command, please change <hostname> to the name of the host. (in your case, I think it's raspberrypi) -
Code: Select all
service crond status
service npcd status
ls -l /usr/local/nagios/share/perfdata/<hostname>/
Former Nagios Employee
Re: Temperature Sensor Connected to Raspberry Pi
The response to:
service crond status
service npcd status
ls -l /usr/local/nagios/share/perfdata/<hostname>/
service crond status
service npcd status
ls -l /usr/local/nagios/share/perfdata/<hostname>/
You do not have the required permissions to view the files attached to this post.