I am new to the Nagios XI interface so bear with me.
What I have going on is a group that monitors the printers on the network. It currently is pinging the IP and a snmp total page count on the printer.
So what I am looking for is a history of the page counts that have been collected over time.
Thanks for your assistance.
Printer Page Count History
Re: Printer Page Count History
Have you seen the performance graph tab under 'Service Status Detail'? I believe this is what you're looking for.
Alternatively, there are other reports that may work for you under the 'Reports' tab -> 'Trends'.
Does this answer your question?
Alternatively, there are other reports that may work for you under the 'Reports' tab -> 'Trends'.
Does this answer your question?
Former Nagios Employee
Re: Printer Page Count History
Well I have seen those but that just shows the state of the service. Not the in my instance the page count of what it collected over a time period.
Re: Printer Page Count History
From the Home Screen, click on the Graph Explorer link and click the Scalable Performance Graph Tab and see if that gives you what you are looking for.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Printer Page Count History
Those are all performance graphs of the service checking the services.
That I am looking for is a graph or list of values that show the history of the service that checks the page counts.
So in example
Date - Page Count
11/1/15 - 12563
11/2/15 - 12658
11/3/15 - 12796
That I am looking for is a graph or list of values that show the history of the service that checks the page counts.
So in example
Date - Page Count
11/1/15 - 12563
11/2/15 - 12658
11/3/15 - 12796
-
jrdalrymple
- Posts: 16
- Joined: Fri Nov 13, 2015 4:49 pm
Re: Printer Page Count History
I'm assuming that your service check results look something like this:
OK - 100000 pages printed
5 minutes later
OK - 100001 pages printed
5 minutes later
OK - 100003 pages printed
etc. right?
So Nagios is not stateful by default. It doesn't break things up into time periods. If you want to do that you'll have to create a custom wrapper and turn your service check into something that looks like:
OK - 1500 pages printed in the past 24 hours
OK - 1501 pages printed in the past 24 hours
OK - 1499 pages printed in the past 24 hours
Meaning Nagios will have to save some data and do some math for you. What you're seeking isn't built in.
OK - 100000 pages printed
5 minutes later
OK - 100001 pages printed
5 minutes later
OK - 100003 pages printed
etc. right?
So Nagios is not stateful by default. It doesn't break things up into time periods. If you want to do that you'll have to create a custom wrapper and turn your service check into something that looks like:
OK - 1500 pages printed in the past 24 hours
OK - 1501 pages printed in the past 24 hours
OK - 1499 pages printed in the past 24 hours
Meaning Nagios will have to save some data and do some math for you. What you're seeking isn't built in.
Re: Printer Page Count History
In case you are going to write a custom plugin, check our the Nagios Plugin Development GUidelines here:
https://nagios-plugins.org/doc/guidelines.html
https://nagios-plugins.org/doc/guidelines.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Printer Page Count History
So one question is that when it is checking the drives on the system it keeps a record of the usage etc.
That is what I am looking for is a history of what is collected.
That is what I am looking for is a history of what is collected.
Re: Printer Page Count History
What is the plugin that you are currently using for checking the printer page count? Can you provide us with a URL link to it? Does the plugin return perfdata?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Printer Page Count History
What I have setup is check command check_xi_service_snmp
snmp-check -p 161 -o mib-2.43.10.2.1.4.1.1 -C public -P 2c -m SNMPv2-SMI
It returns "SNMP OK - 280427"
snmp-check -p 161 -o mib-2.43.10.2.1.4.1.1 -C public -P 2c -m SNMPv2-SMI
It returns "SNMP OK - 280427"