No performance graphs were found for this service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
anguri.sudhakar
Posts: 22
Joined: Tue Dec 01, 2015 6:00 am

No performance graphs were found for this service

Post by anguri.sudhakar »

Hi,

No performance graphs were found for this service.

I have created SNMP trap for one service ,But performance graph it not appearing.

Please suggest the processes.

Thanks,
Sudhakar Anguri
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: No performance graphs were found for this service

Post by rkennedy »

Can you please post a screenshot of the advanced status details tab for the service that isn't generating graphs?
Former Nagios Employee
anguri.sudhakar
Posts: 22
Joined: Tue Dec 01, 2015 6:00 am

Re: No performance graphs were found for this service

Post by anguri.sudhakar »

Hi,

I attached the screenshot of service and advance tab details.
Please find the below.

Thanks,
Sudhakakar Anguri
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: No performance graphs were found for this service

Post by rkennedy »

It does not look like your service check is returning any performance data.

Can you post a complete example of what you're sending with this passive check?
Former Nagios Employee
anguri.sudhakar
Posts: 22
Joined: Tue Dec 01, 2015 6:00 am

Re: No performance graphs were found for this service

Post by anguri.sudhakar »

Hi ,

Just i am imported xxxx.MIB file into snmptt.conf file and i have create service name SNMP trap for respective MIB file.

SNMP trap service capturing the alert alarms and it showing in the GUI.

But problem is performance data is not showing the graphs.

Thanks,
Sudhakar Anguri.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: No performance graphs were found for this service

Post by rkennedy »

rkennedy wrote:It does not look like your service check is returning any performance data.
In order to generate performance data on a passive check, the EXEC line in snmptt.conf needs to be modified accordingly. Can you post the part in snmptt.conf that corresponds to this service in question?
Former Nagios Employee
anguri.sudhakar
Posts: 22
Joined: Tue Dec 01, 2015 6:00 am

Re: No performance graphs were found for this service

Post by anguri.sudhakar »

Hi,

below is the SNMP service .

EVENT resourceAdaptorNotification .1.3.6.1.4.1.19808.2.101.2 "Status Events" Normal
FORMAT This notification is sent when a Resource Adaptor changes state $*
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "This notification is sent when a Resource Adaptor changes state $*"
SDESC
This notification is sent when a Resource Adaptor changes state
Variables:
1: message
2: type
3: sequenceID
4: timestamp
5: nodes
6: component
7: oldState
8: newState
EDESC

Thanks,
Sudhakar Anguri.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: No performance graphs were found for this service

Post by rkennedy »

In order to format performance, you will need to follow the guidelines from here https://assets.nagios.com/downloads/nag ... fdata.html -
At a minimum, Nagios plugins must return a single line of human-readable text that indicates the status of some type of measurable data. For example, the check_ping plugin might return a line of text like the following:

PING ok - Packet loss = 0%, RTA = 0.80 ms

With this simple type of output, the entire line of text is available in the $HOSTOUTPUT$ or $SERVICEOUTPUT$ macros (depending on whether this plugin was used as a host check or service check).

Plugins can return optional performance data in their output by sending the normal, human-readable text string that they usually would, followed by a pipe character (|), and then a string containing one or more performance data metrics. Let's take the check_ping plugin as an example and assume that it has been enhanced to return percent packet loss and average round trip time as performance data metrics. Sample output from the plugin might look like this:

PING ok - Packet loss = 0%, RTA = 0.80 ms | percent_packet_loss=0, rta=0.80
In your case, for SNMP, the line that we need to modify to start generating perfdata is going to be -

Code: Select all

EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "$-*" "This notification is sent when a Resource Adaptor changes state $*"
Take a look here http://snmptt.sourceforge.net/docs/snmp ... ONF-FORMAT for more information about the variables that you would like to format. Each passive check will need to be setup a little bit differently on that EXEC line in order for performance graphs to generate.

Give it a try and let me know if you have any questions.

Let me know if you have any questions.
Former Nagios Employee
anguri.sudhakar
Posts: 22
Joined: Tue Dec 01, 2015 6:00 am

Re: No performance graphs were found for this service

Post by anguri.sudhakar »

Thanks for quick response the link is very use full, i will try my end and i will let know.
Last edited by anguri.sudhakar on Mon Jan 18, 2016 3:06 am, edited 1 time in total.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: No performance graphs were found for this service

Post by rkennedy »

You're welcome. I'll leave this thread open for now - let us know if you have any further questions about it.
Former Nagios Employee
Locked