Dear Expert
I found that if we adding -f in the arguments , it will generate PNP Performance Graph, however me finding difficulties to go through long script.
Can you please ref any document or simple script to generate PNP graph with minimum requirement.
Regards
sample script for performance graph
sample script for performance graph
Zajil NMS
Re: sample script for performance graph
Could you clarify? what script are you referring to?zaji_nms wrote:I found that if we adding -f in the arguments , it will generate PNP Performance Graph, however me finding difficulties to go through long script.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: sample script for performance graph
Dear Abrist
check_snmp_environment.pl
However here me asking general question , if my script return some value, what should I add some procedure/syntext to generate PNP performance graph.
Regards
check_snmp_environment.pl
However here me asking general question , if my script return some value, what should I add some procedure/syntext to generate PNP performance graph.
Regards
Zajil NMS
Re: sample script for performance graph
Here is the link to the plugin development guide. Take a look at the Performance data section.
https://nagios-plugins.org/doc/guidelines.html
I tried to find that plugin but couldn't, so could you post a link to where it is or attach it to this post?
https://nagios-plugins.org/doc/guidelines.html
I tried to find that plugin but couldn't, so could you post a link to where it is or attach it to this post?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: sample script for performance graph
Dear Expert
Please close the case, some help got from :
Troy Lea => Leveraging and Understanding Performance Data and Graphs
Some from other script and understood that the magic is | (pipe)
Nagios generate the graph for the value after the | (pipe)
more /usr/local/nagios/libexec/zus_pnp_graph
#!/bin/sh
zusminute=`date +%M`
echo ""Minute $zusminute" | mIn=$zusminute"
exit 0
Command : zus_pnp_graph
Command Line : $USER1$/zus_pnp_graph
Regards
Please close the case, some help got from :
Troy Lea => Leveraging and Understanding Performance Data and Graphs
Some from other script and understood that the magic is | (pipe)
Nagios generate the graph for the value after the | (pipe)
more /usr/local/nagios/libexec/zus_pnp_graph
#!/bin/sh
zusminute=`date +%M`
echo ""Minute $zusminute" | mIn=$zusminute"
exit 0
Command : zus_pnp_graph
Command Line : $USER1$/zus_pnp_graph
Regards
Zajil NMS